From fb72274b7159ea12c1c84b0af00a634f54b536df Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Mon, 15 Jan 2018 17:15:45 +0100 Subject: [PATCH] fix compilation error (expectNoMsg) (#24312) --- .../scala/docs/akka/cluster/typed/BasicClusterExampleSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-cluster-typed/src/test/scala/docs/akka/cluster/typed/BasicClusterExampleSpec.scala b/akka-cluster-typed/src/test/scala/docs/akka/cluster/typed/BasicClusterExampleSpec.scala index cb3167e000..19da89d494 100644 --- a/akka-cluster-typed/src/test/scala/docs/akka/cluster/typed/BasicClusterExampleSpec.scala +++ b/akka-cluster-typed/src/test/scala/docs/akka/cluster/typed/BasicClusterExampleSpec.scala @@ -192,7 +192,7 @@ class BasicClusterManualSpec extends WordSpec with ScalaFutures with Eventually cluster1.manager ! Down(cluster3.selfMember.address) testProbe.expectMsgType[MemberRemoved](10.seconds).member.address shouldEqual cluster3.selfMember.address - testProbe.expectNoMsg(1000.millis) + testProbe.expectNoMessage() } finally { system1.terminate().futureValue system2.terminate().futureValue