LuciferYang commented on a change in pull request #31190:
URL: https://github.com/apache/spark/pull/31190#discussion_r557896600
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/streaming/StreamingQueryListenerSuite.scala
##########
@@ -48,8 +48,7 @@ class StreamingQueryListenerSuite extends StreamTest with
BeforeAndAfter {
spark.streams.active.foreach(_.stop())
assert(spark.streams.active.isEmpty)
// Skip check default `StreamingQueryStatusListener` which is for
streaming UI.
- assert(spark.streams.listListeners()
- .filterNot(_.isInstanceOf[StreamingQueryStatusListener]).isEmpty)
+
assert(spark.streams.listListeners().forall(_.isInstanceOf[StreamingQueryStatusListener]))
Review comment:
Address 4ac192b add a newline
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]