aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/test/scala/org/apache/spark/util/AkkaUtilsSuite.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/test/scala/org/apache/spark/util/AkkaUtilsSuite.scala b/core/src/test/scala/org/apache/spark/util/AkkaUtilsSuite.scala
index 61601016e0..0af4b6098b 100644
--- a/core/src/test/scala/org/apache/spark/util/AkkaUtilsSuite.scala
+++ b/core/src/test/scala/org/apache/spark/util/AkkaUtilsSuite.scala
@@ -340,10 +340,11 @@ class AkkaUtilsSuite extends SparkFunSuite with LocalSparkContext with ResetSyst
new MapOutputTrackerMasterEndpoint(rpcEnv, masterTracker, conf))
val slaveConf = sparkSSLConfig()
+ .set("spark.rpc.askTimeout", "5s")
+ .set("spark.rpc.lookupTimeout", "5s")
val securityManagerBad = new SecurityManager(slaveConf)
val slaveRpcEnv = RpcEnv.create("spark-slave", hostname, 0, slaveConf, securityManagerBad)
- val slaveTracker = new MapOutputTrackerWorker(conf)
try {
slaveRpcEnv.setupEndpointRef("spark", rpcEnv.address, MapOutputTracker.ENDPOINT_NAME)
fail("should receive either ActorNotFound or TimeoutException")