We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e370ca commit d0328bfCopy full SHA for d0328bf
core/src/test/scala/org/apache/spark/resource/ResourceProfileSuite.scala
@@ -332,7 +332,7 @@ class ResourceProfileSuite extends SparkFunSuite with MockitoSugar {
332
"Executor resources should have 2000 overhead memory")
333
assert(rprof.getPySparkMemory.get === 500,
334
"Executor resources should have 512 pyspark memory")
335
- assert(rprof.getExecutorOffHeap === 1024,
+ assert(rprof.getExecutorOffHeap.get === 1024,
336
"Executor resources should have 1024 offHeap memory")
337
}
338
0 commit comments