changgyoopark-db commented on code in PR #48142:
URL: https://github.com/apache/spark/pull/48142#discussion_r1765473459
##########
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:
That makes sense. I'll change this and line 894 to 10 to seconds + add an
error message.
--
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]