-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
I am running the test suite locally, and the vast majority of pgnative tests are failing.
This happens when I run all tests:
$ npm run db:start
...
$ npm run test
And when I only run pgnative:
$ npm run db:start:pgnative
...
$ npm run test:pgnative
The output of npm run db:start:pgnative looks fine:
> [email protected] db:start:pgnative
> docker compose -f scripts/docker-compose.yml up --build -d pgnative && docker compose -f scr
ipts/docker-compose.yml up waitpgnative
WARN[0000] [...]/knex/scripts/docker-compose.yml: the attribute `versio
n` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 2/2
✔ Network scripts_default Created 0.0s
✔ Container scripts-pgnative-1 Started 0.3s
WARN[0000] [...]/knex/scripts/docker-compose.yml: the attribute `versio
n` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 2/2
✔ Container scripts-pgnative-1 Running 0.0s
✔ Container scripts-waitpgnative-1 Created 0.1s
Attaching to waitpgnative-1
waitpgnative-1 | psql: error: could not connect to server: Connection refused
waitpgnative-1 | Is the server running on host "pgnative" (172.19.0.2) and accepting
waitpgnative-1 | TCP/IP connections on port 5432?
waitpgnative-1 | ?column?
waitpgnative-1 | ----------
waitpgnative-1 | 1
waitpgnative-1 | (1 row)
waitpgnative-1 |
waitpgnative-1 exited with code 0
There is probably some step I'm missing, maybe it just needs to be documented.