Hello Andrew Wong, Adar Dembo, Grant Henke, Hao Hao, I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/15629 to review the following change. Change subject: [postgres] Deflake MiniPostgres tests ...................................................................... [postgres] Deflake MiniPostgres tests Tests depending on MiniPostgres were flaky as in some cases Postgres takes longer than expected to start. This commit introduces checking if psql can connect to MiniPostgres as part of start-up and retries the connection up to 5 times with exponential back-off starting from 100ms. Ran MiniRangerTest 1000 times on dist-test with no failures with this fix. Change-Id: I5106b3e2aeb9dabad9a7ee0b17059c1df2042bb4 --- M src/kudu/postgres/mini_postgres.cc M src/kudu/postgres/mini_postgres.h 2 files changed, 30 insertions(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/29/15629/1 -- To view, visit http://gerrit.cloudera.org:8080/15629 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I5106b3e2aeb9dabad9a7ee0b17059c1df2042bb4 Gerrit-Change-Number: 15629 Gerrit-PatchSet: 1 Gerrit-Owner: Attila Bukor <abu...@apache.org> Gerrit-Reviewer: Adar Dembo <a...@cloudera.com> Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com> Gerrit-Reviewer: Grant Henke <granthe...@apache.org> Gerrit-Reviewer: Hao Hao <hao....@cloudera.com>