parent
36f2731846
commit
aee0152da2
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ abstract class MultiDcClusterShardingSpec
|
||||||
val shardRegion: ActorRef[ShardingEnvelope[PingProtocol]] = sharding.init(Entity(typeKey, _ => multiDcPinger))
|
val shardRegion: ActorRef[ShardingEnvelope[PingProtocol]] = sharding.init(Entity(typeKey, _ => multiDcPinger))
|
||||||
val probe = TestProbe[Pong]
|
val probe = TestProbe[Pong]
|
||||||
shardRegion ! ShardingEnvelope(entityId, Ping(probe.ref))
|
shardRegion ! ShardingEnvelope(entityId, Ping(probe.ref))
|
||||||
probe.expectMessage(max = 10.seconds, Pong(cluster.selfMember.dataCenter))
|
probe.expectMessage(max = 15.seconds, Pong(cluster.selfMember.dataCenter))
|
||||||
enterBarrier("sharding-initialized")
|
enterBarrier("sharding-initialized")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue