Skip to content

Commit

Permalink
SPARK-5548: Fixed a race condition in AkkaUtilsSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
jacek-lewandowski committed Feb 3, 2015
1 parent 6e244cf commit b9ba47e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ class AkkaUtilsSuite extends FunSuite with LocalSparkContext with ResetSystemPro
AkkaUtils.address(AkkaUtils.protocol(slaveSystem), "spark", "localhost", boundPort, "MapOutputTracker"))
val timeout = AkkaUtils.lookupTimeout(conf)
intercept[TimeoutException] {
slaveTracker.trackerActor = Await.result(selection.resolveOne(timeout), timeout)
slaveTracker.trackerActor = Await.result(selection.resolveOne(timeout * 2), timeout)
}

actorSystem.shutdown()
Expand Down

0 comments on commit b9ba47e

Please sign in to comment.