zabetak opened a new pull request #2767: URL: https://github.com/apache/hive/pull/2767
### What changes were proposed in this pull request? 1. Ensure the database is ready by checking a certain message appears two times in the logs. 2. Remove the now unused logger. ### Why are the changes needed? Sometimes when we try to connect to Postgres, the database is not yet completely ready despite the fact that the respective port is open thus leading to the following exception. `PSQLException: FATAL: the database system is starting up` ### Does this PR introduce _any_ user-facing change? Avoids intermittent failures due to partially initialised Postgres. ### How was this patch tested? Run the flaky-checker on some tests relying on the dockerized Postgres (e.g., `qt_database_postgres.q`, `qt_database_all.q`, `jdbc_table_with_schema_postgres.q`). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
