bozhang2820 commented on code in PR #38030:
URL: https://github.com/apache/spark/pull/38030#discussion_r983026010
##########
core/src/test/scala/org/apache/spark/storage/BlockManagerDecommissionIntegrationSuite.scala:
##########
@@ -186,6 +186,8 @@ class BlockManagerDecommissionIntegrationSuite extends
SparkFunSuite with LocalS
sc.addSparkListener(new SparkListener {
override def onExecutorRemoved(execRemoved:
SparkListenerExecutorRemoved): Unit = {
executorRemovedSem.release()
+ assert(execRemoved.reason == ExecutorDecommission.msgPrefix + "test
msg 0" ||
+ execRemoved.reason == "Command exited with code 0")
Review Comment:
Yes. In this test suite `SparkListenerExecutorRemoved`s added here:
https://github.com/apache/spark/pull/34536 will be posted too with reason
"Command exited with code 0".
--
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]