You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/06/24 07:05:13 UTC

[GitHub] [incubator-kyuubi] yaooqinn commented on a diff in pull request #2925: [KYUUBI #2924] Correct the frontend server start state

yaooqinn commented on code in PR #2925:
URL: https://github.com/apache/incubator-kyuubi/pull/2925#discussion_r905776340


##########
kyuubi-server/src/main/scala/org/apache/kyuubi/server/KyuubiTHttpFrontendService.scala:
##########
@@ -215,6 +215,10 @@ final class KyuubiTHttpFrontendService(
         info(s"Starting and exposing JDBC connection at: jdbc:hive2://$connectionUrl/")
       }
       server.foreach(_.start())
+      // wait a moment for server thread starting ..
+      if (Utils.isTesting) {
+        Thread.sleep(3000)

Review Comment:
   you can do it in test..



-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org