Skip to content
Snippets Groups Projects
Commit b0389997 authored by Charles Reiss's avatar Charles Reiss
Browse files

Fix accidental spark.master.host reuse

parent 7ba34bc0
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment