diff options
author | Charles Reiss <charles@eecs.berkeley.edu> | 2013-01-29 19:05:45 -0800 |
---|---|---|
committer | Charles Reiss <charles@eecs.berkeley.edu> | 2013-01-29 19:05:58 -0800 |
commit | 4bf3d7ea1252454ca584a3dabf26bdeab4069409 (patch) | |
tree | 3cc054a444769e4a1f4cdc184e0b8deb9cde097a | |
parent | 9eac7d01f0880d1d3d51e922ef2566c4ee92989f (diff) | |
download | spark-4bf3d7ea1252454ca584a3dabf26bdeab4069409.tar.gz spark-4bf3d7ea1252454ca584a3dabf26bdeab4069409.tar.bz2 spark-4bf3d7ea1252454ca584a3dabf26bdeab4069409.zip |
Clear spark.master.port to cleanup for other tests
-rw-r--r-- | core/src/test/scala/spark/scheduler/DAGSchedulerSuite.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/test/scala/spark/scheduler/DAGSchedulerSuite.scala b/core/src/test/scala/spark/scheduler/DAGSchedulerSuite.scala index 53f5214d7a..6c577c2685 100644 --- a/core/src/test/scala/spark/scheduler/DAGSchedulerSuite.scala +++ b/core/src/test/scala/spark/scheduler/DAGSchedulerSuite.scala @@ -102,6 +102,7 @@ class DAGSchedulerSuite extends FunSuite if (schedulerException != null) { throw new Exception("Exception caught from scheduler thread", schedulerException) } + System.clearProperty("spark.master.port") } // Type of RDD we use for testing. Note that we should never call the real RDD compute methods. |