#1314 Wait for Postgres to be running before starting the unit tests
Closed: Fixed 4 years ago by mprahl. Opened 4 years ago by mprahl.

When running the unit tests with Postgres, the unit tests can start before the Postgres container is ready, which causes the unit tests to fail. Ideally, the script should wait until Postgres is ready by running a query in the container. If that ends up being too difficult, we can just use the sleep command.


The --health-* options of the run command could be useful here.

Metadata Update from @cqi:
- Issue assigned to cqi

4 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #1320 Merged 4 years ago