Skip to content

Commit d0328bf

Browse files
committed
Fix test
1 parent 0e370ca commit d0328bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/scala/org/apache/spark/resource/ResourceProfileSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ class ResourceProfileSuite extends SparkFunSuite with MockitoSugar {
332332
"Executor resources should have 2000 overhead memory")
333333
assert(rprof.getPySparkMemory.get === 500,
334334
"Executor resources should have 512 pyspark memory")
335-
assert(rprof.getExecutorOffHeap === 1024,
335+
assert(rprof.getExecutorOffHeap.get === 1024,
336336
"Executor resources should have 1024 offHeap memory")
337337
}
338338

0 commit comments

Comments
 (0)