difin commented on code in PR #5652: URL: https://github.com/apache/hive/pull/5652#discussion_r2015029538
########## itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestActivePassiveHA.java: ########## @@ -139,6 +139,72 @@ private static void setHAConfigs(Configuration conf) { conf.setInt(ConfVars.HIVE_ZOOKEEPER_CONNECTION_MAX_RETRIES.varname, 1); } + @Test(timeout = 60000) + public void testHealthCheck() throws Exception { + String instanceId1 = UUID.randomUUID().toString(); + miniHS2_1.start(getConfOverlay(instanceId1)); Review Comment: Yes, the test needs to bring up HS2 in Active-Passive-HA mode and check that the health check endpoint can be reached only via the dedicated port and not via the WebUI port. Other Active-Passive-HA tests also use MiniHS2 -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org