-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: TmpDb::init() wait for psql (#602)
Previously `TmpDb::init()` waited for postgres to become ready, but the logic would panic if `psql` is not available on the host. But, we should not have any expectation that `psql` be available on the host. This PR updates the wait loop to run a query inside the docker container. --------- Co-authored-by: tbro <tbro@users.noreply.github.com>
- Loading branch information
Showing
1 changed file
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters