SelfHoster: Keep trying pg_ctl after starting postgres.
authorMurray Cumming <murrayc@murrayc.com>
Fri, 8 Jun 2012 20:51:11 +0000 (22:51 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Fri, 8 Jun 2012 20:51:11 +0000 (22:51 +0200)
commitb51eb3f0466c7668e03d023f7f4a68fd7d5477c2
treeb69a9fc7e4aee00fd8324727a4ff4744cf20a47c
parente5b0f7b67dd11a51537b51395c5d18e92f735977
SelfHoster: Keep trying pg_ctl after starting postgres.

* src/test/java/org/glom/web/server/SelfHoster.java
executeCommandLineAndWaitUntilSecondCommandReturnsSuccess():
Try pg_ctl repeatedly (for ever) until it succeeds, as we do in
regular Glom. This seems mad but it seems to work because the first
command would fail if pg_ctl would eventually fail.
ChangeLog
src/test/java/org/glom/web/server/SelfHoster.java