gengliangwang commented on a change in pull request #35098:
URL: https://github.com/apache/spark/pull/35098#discussion_r777979880



##########
File path: core/src/test/scala/org/apache/spark/SparkFunSuite.scala
##########
@@ -284,5 +284,7 @@ abstract class SparkFunSuite
     def setThreshold(threshold: Level): Unit = {
       _threshold = threshold
     }
+
+    def nonNullLogEvents(): Seq[LogEvent] = loggingEvents.filterNot(_ == null)

Review comment:
       Actually,  I tried overwriting `append(loggingEvent: LogEvent)` to 
filter out the null events, but it doesn't work. I don't know why there are 
null events yet but I think we should fix this to unblock the CI tests.




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