File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
core/src/test/scala/org/apache/spark/internal/plugin Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -139,9 +139,9 @@ class PluginContainerSuite extends SparkFunSuite with BeforeAndAfterEach with Lo
139139 sc = new SparkContext (conf)
140140 sc.parallelize(1 to 10 , 2 ).count()
141141
142- assert(TestSparkPlugin .executorPlugin.numOnTaskStart == 2 )
143- assert(TestSparkPlugin .executorPlugin.numOnTaskSucceeded == 2 )
144- assert(TestSparkPlugin .executorPlugin.numOnTaskFailed == 0 )
142+ assert(TestSparkPlugin .executorPlugin.numOnTaskStart.get() == 2 )
143+ assert(TestSparkPlugin .executorPlugin.numOnTaskSucceeded.get() == 2 )
144+ assert(TestSparkPlugin .executorPlugin.numOnTaskFailed.get() == 0 )
145145 }
146146
147147 test(" SPARK-33088: executor failed tasks trigger plugin calls" ) {
You can’t perform that action at this time.
0 commit comments