dongjoon-hyun commented on a change in pull request #26430: [SPARK-28859][Core] 
Remove value check of MEMORY_OFFHEAP_SIZE
URL: https://github.com/apache/spark/pull/26430#discussion_r344471062
 
 

 ##########
 File path: 
core/src/test/scala/org/apache/spark/memory/UnifiedMemoryManagerSuite.scala
 ##########
 @@ -309,6 +309,15 @@ class UnifiedMemoryManagerSuite extends 
MemoryManagerSuite with PrivateMethodTes
     mm.invokePrivate[Unit](assertInvariants())
   }
 
+  test("invalid MEMORY_OFFHEAP_SIZE") {
+    val conf = new SparkConf()
+      .set(MEMORY_OFFHEAP_SIZE, 0)
 
 Review comment:
   Although this is consistent with the other test cases in this test suite, 
`val conf = new SparkConf().set(MEMORY_OFFHEAP_SIZE, 0)` might be enough for 
this short test.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to