deniskuzZ commented on code in PR #5205: URL: https://github.com/apache/hive/pull/5205#discussion_r1615902861
########## service/src/test/org/apache/hive/service/server/TestHS2HttpServer.java: ########## @@ -59,52 +59,29 @@ /** * TestHS2HttpServer -- executes tests of HiveServer2 HTTP Server. */ -public class TestHS2HttpServer { +public class TestHS2HttpServer extends ThriftCLITestUtils { - private static HiveServer2 hiveServer2 = null; private static CLIService client = null; private static SessionManager sm = null; - private static HiveConf hiveConf = null; private static String metastorePasswd = "61ecbc41cdae3e6b32712a06c73606fa"; //random md5 private static Integer webUIPort = null; private static String apiBaseURL = null; @BeforeClass public static void beforeTests() throws Exception { - webUIPort = MetaStoreTestUtils.findFreePortExcepting( + ThriftCLITestUtils.setUpBeforeClass(); Review Comment: can't we add @BeforeClass for ThriftCLITestUtils.setUpBeforeClass? -- 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