File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
core/src/test/scala/org/apache/spark/rpc/akka Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ import scala.language.postfixOps
25
25
import akka .actor .{ActorSystem , Actor , Props }
26
26
import akka .pattern .ask
27
27
28
+ import com .typesafe .config .{ConfigValueFactory , ConfigFactory }
29
+
28
30
import org .apache .spark .rpc ._
29
31
import org .apache .spark .{SecurityManager , SparkConf }
30
32
@@ -65,7 +67,9 @@ class AkkaRpcEnvSuite extends RpcEnvSuite {
65
67
}
66
68
}
67
69
68
- val system = ActorSystem (" EchoSystem" )
70
+ val akkaConf = ConfigFactory .empty().withValue(" akka.log-dead-letters" ,
71
+ ConfigValueFactory .fromAnyRef(" off" ))
72
+ val system = ActorSystem (" EchoSystem" , akkaConf)
69
73
val echoActor = system.actorOf(Props (new EchoActor (0 )), name = " echo" )
70
74
val sleepyActor = system.actorOf(Props (new EchoActor (50 )), name = " sleepy" )
71
75
You can’t perform that action at this time.
0 commit comments