diff options
author | Charles Reiss <charles@eecs.berkeley.edu> | 2013-01-14 17:04:44 -0800 |
---|---|---|
committer | Charles Reiss <charles@eecs.berkeley.edu> | 2013-01-14 17:04:44 -0800 |
commit | b0389997972d383c3aaa87924b725dee70b18d8e (patch) | |
tree | 7640d6fa3759ac403f129bcb4e7586e8597c7047 /core | |
parent | 7ba34bc007ec10d12b2a871749f32232cdbc0d9c (diff) | |
download | spark-b0389997972d383c3aaa87924b725dee70b18d8e.tar.gz spark-b0389997972d383c3aaa87924b725dee70b18d8e.tar.bz2 spark-b0389997972d383c3aaa87924b725dee70b18d8e.zip |
Fix accidental spark.master.host reuse
Diffstat (limited to 'core')
-rw-r--r-- | core/src/test/scala/spark/MapOutputTrackerSuite.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/test/scala/spark/MapOutputTrackerSuite.scala b/core/src/test/scala/spark/MapOutputTrackerSuite.scala index 6c6f82e274..aa1d8ac7e6 100644 --- a/core/src/test/scala/spark/MapOutputTrackerSuite.scala +++ b/core/src/test/scala/spark/MapOutputTrackerSuite.scala @@ -81,6 +81,7 @@ class MapOutputTrackerSuite extends FunSuite with BeforeAndAfter { } test("remote fetch") { + System.clearProperty("spark.master.host") val (actorSystem, boundPort) = AkkaUtils.createActorSystem("test", "localhost", 0) System.setProperty("spark.master.port", boundPort.toString) @@ -107,6 +108,7 @@ class MapOutputTrackerSuite extends FunSuite with BeforeAndAfter { } test("simulatenous fetch fails") { + System.clearProperty("spark.master.host") val dummyActorSystem = ActorSystem("testDummy") val dummyTracker = new MapOutputTracker(dummyActorSystem, true) dummyTracker.registerShuffle(10, 1) |