-
- Downloads
[SPARK-5437] Fix DriverSuite and SparkSubmitSuite timeout issues
In DriverSuite, we currently set a timeout of 60 seconds. If after this time the process has not terminated, we leak the process because we never destroy it. In SparkSubmitSuite, we currently do not have a timeout so the test can hang indefinitely. Author: Andrew Or <andrew@databricks.com> Closes #4230 from andrewor14/fix-driver-suite and squashes the following commits: f5c80fd [Andrew Or] Fix timeout behaviors in both suites 8092c36 [Andrew Or] Stop SparkContext after every individual test
Showing
- core/src/main/scala/org/apache/spark/util/Utils.scala 44 additions, 43 deletionscore/src/main/scala/org/apache/spark/util/Utils.scala
- core/src/test/scala/org/apache/spark/DriverSuite.scala 12 additions, 14 deletionscore/src/test/scala/org/apache/spark/DriverSuite.scala
- core/src/test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala 15 additions, 11 deletions...test/scala/org/apache/spark/deploy/SparkSubmitSuite.scala
Loading
Please register or sign in to comment