-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#14 The check now takes place on a more reliable text. The old text l…
…eft a bit of wiggle room, resulting in a racing condition. A slow MacBook may see Spring Boot try to create a connection before Postgres is ready to accept it (see #8). Two problems: * the startup verification text is printed twice -- only the second time counts * Docker through the ProcessRunner did not print all active log to file Extra field added to check the number of times the startup verification text must be found. The infinite tailer will keep track and return success when the designated number of texts have been spotted. The second problem is addressed by adding a --tty flag to the docker run command.
- Loading branch information
1 parent
1ef9705
commit ff98003
Showing
4 changed files
with
28 additions
and
8 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
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
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
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