mundaym commented on a change in pull request #29407:
URL: https://github.com/apache/spark/pull/29407#discussion_r473066519
##########
File path: core/src/test/scala/org/apache/spark/storage/BlockManagerSuite.scala
##########
@@ -144,10 +144,28 @@ class BlockManagerSuite extends SparkFunSuite with
Matchers with BeforeAndAfterE
blockManager
}
+ // Save modified system properties so that we can restore them after tests.
+ val originalArch = System.getProperty("os.arch")
+ val originalCompressedOops = System.getProperty(TEST_USE_COMPRESSED_OOPS_KEY)
+
+ def reinitializeSizeEstimator(arch: String, useCompressedOops: String): Unit
= {
+ val set = (k: String, v: String) => {
Review comment:
Will do (not really a Scala developer!).
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]