dongjoon-hyun commented on code in PR #48142:
URL: https://github.com/apache/spark/pull/48142#discussion_r1765369005


##########
sql/connect/server/src/test/scala/org/apache/spark/sql/connect/planner/SparkConnectServiceSuite.scala:
##########
@@ -873,8 +873,11 @@ class SparkConnectServiceSuite
     val listenerBus = sparkContext.listenerBus
     val LISTENER_BUS_TIMEOUT = 30000
     def executeHolder: ExecuteHolder = {
-      assert(listener.executeHolder.isDefined)
-      listener.executeHolder.get
+      // An ExecuteHolder will eventually be set
+      Eventually.eventually(timeout(1.seconds)) {

Review Comment:
   If we need this, `1.seconds` is enough? Could you provide the failure error 
message or stack trace which you want to fix in this PR?



-- 
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]

Reply via email to