Skip to content

Commit aba5784

Browse files
committed
[SPARK-8937] [TEST] A setting spark.unsafe.exceptionOnMemoryLeak is missing in ScalaTest config.
`spark.unsafe.exceptionOnMemoryLeak` is present in the config of surefire. ``` <!-- Surefire runs all Java tests --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.18.1</version> <!-- Note config is repeated in scalatest config --> ... <spark.unsafe.exceptionOnMemoryLeak>true</spark.unsafe.exceptionOnMemoryLeak> </systemProperties> ... ``` but is absent in the config ScalaTest. Author: Kousuke Saruta <[email protected]> Closes apache#7308 from sarutak/add-setting-for-memory-leak and squashes the following commits: 95644e7 [Kousuke Saruta] Added a setting for memory leak
1 parent 47ef423 commit aba5784

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,6 +1339,7 @@
13391339
<spark.ui.enabled>false</spark.ui.enabled>
13401340
<spark.ui.showConsoleProgress>false</spark.ui.showConsoleProgress>
13411341
<spark.driver.allowMultipleContexts>true</spark.driver.allowMultipleContexts>
1342+
<spark.unsafe.exceptionOnMemoryLeak>true</spark.unsafe.exceptionOnMemoryLeak>
13421343
</systemProperties>
13431344
</configuration>
13441345
<executions>

0 commit comments

Comments
 (0)