Skip to content
Snippets Groups Projects
Commit aa4ee1e9 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Fix failing test

parent f7b4e428
No related branches found
No related tags found
No related merge requests found
...@@ -79,8 +79,7 @@ class MapOutputTrackerSuite extends FunSuite with LocalSparkContext { ...@@ -79,8 +79,7 @@ class MapOutputTrackerSuite extends FunSuite with LocalSparkContext {
test("remote fetch") { test("remote fetch") {
try { try {
System.clearProperty("spark.driver.host") // In case some previous test had set it System.clearProperty("spark.driver.host") // In case some previous test had set it
val (actorSystem, boundPort) = val (actorSystem, boundPort) = AkkaUtils.createActorSystem("spark", "localhost", 0)
AkkaUtils.createActorSystem("test", "localhost", 0)
System.setProperty("spark.driver.port", boundPort.toString) System.setProperty("spark.driver.port", boundPort.toString)
val masterTracker = new MapOutputTracker(actorSystem, true) val masterTracker = new MapOutputTracker(actorSystem, true)
val slaveTracker = new MapOutputTracker(actorSystem, false) val slaveTracker = new MapOutputTracker(actorSystem, false)
......
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