huangtruman commented on code in PR #4714:
URL: https://github.com/apache/kyuubi/pull/4714#discussion_r1168318921
##########
externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/SchedulerPoolSuite.scala:
##########
@@ -92,17 +95,18 @@ class SchedulerPoolSuite extends WithSparkSQLEngine with
HiveJDBCTestHelper {
statement.execute("SELECT java_method('java.lang.Thread',
'sleep', 1500l)" +
" FROM range(1, 3, 1, 2)")
}
+ // make sure this job name job1
+ Thread.sleep(1000)
Review Comment:
There is an error here. Thread.sleep(1000) running in a thread does not work
and cannot guarantee that the job named job1.
--
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]