HyukjinKwon commented on a change in pull request #31190:
URL: https://github.com/apache/spark/pull/31190#discussion_r557890165



##########
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:
       Can we have a newline to match with 
https://github.com/apache/spark/pull/31188/files#diff-ea70ab4d37b86e958c50f0d0eb0f243c2eb3312c3c0afc78576fa981e5a5a7bbR52?




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

Reply via email to