cloud-fan commented on code in PR #40978:
URL: https://github.com/apache/spark/pull/40978#discussion_r1179872816


##########
core/src/test/scala/org/apache/spark/broadcast/BroadcastSuite.scala:
##########
@@ -315,9 +315,15 @@ class BroadcastSuite extends SparkFunSuite with 
LocalSparkContext with Encryptio
     if (removeFromDriver) {
       // Using this variable on the executors crashes them, which hangs the 
test.
       // Instead, crash the driver by directly accessing the broadcast value.
-      intercept[SparkException] { broadcast.value }
-      intercept[SparkException] { broadcast.unpersist(blocking = true) }
-      intercept[SparkException] { broadcast.destroy(blocking = true) }
+      val e1 = intercept[SparkException] { broadcast.value }

Review Comment:
   nvm, we don't need to check error message here.



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