Skip to content

Commit aee94d3

Browse files
committed
test timing fix
1 parent 2bb32cb commit aee94d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/contrib/cluster/Akka.Cluster.Sharding.Tests/SupervisionSpec.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
using System;
99
using System.Globalization;
10+
using System.Threading;
1011
using Akka.Actor;
1112
using Akka.Configuration;
1213
using Akka.Event;
@@ -177,6 +178,7 @@ public void SupervisionSpec_for_a_sharded_actor_must_allow_passivation_and_early
177178
region.Tell(new Msg(10, "passivate"));
178179
ExpectTerminated(response.Self);
179180

181+
Thread.Sleep(200);
180182
region.Tell(new Msg(10, "hello"));
181183
ExpectMsg<Response>(TimeSpan.FromSeconds(20));
182184
}

0 commit comments

Comments
 (0)