Skip to content

Commit c567315

Browse files
committed
.
1 parent 5310448 commit c567315

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/test/scala/org/apache/spark/internal/plugin/PluginContainerSuite.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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") {

0 commit comments

Comments
 (0)