=rem #17151 Add missing barrier in RemoteNodeRestartGate
This commit is contained in:
parent
ea2219950d
commit
863920db48
1 changed files with 4 additions and 3 deletions
|
|
@ -61,9 +61,12 @@ abstract class RemoteNodeRestartGateSpec
|
|||
"RemoteNodeRestartGate" must {
|
||||
|
||||
"allow restarted node to pass through gate" taggedAs LongRunningTest in {
|
||||
|
||||
system.actorOf(Props[Subject], "subject")
|
||||
enterBarrier("subject-started")
|
||||
|
||||
runOn(first) {
|
||||
val secondAddress = node(second).address
|
||||
system.actorOf(Props[Subject], "subject")
|
||||
|
||||
identify(second, "subject")
|
||||
|
||||
|
|
@ -90,8 +93,6 @@ abstract class RemoteNodeRestartGateSpec
|
|||
val addr = system.asInstanceOf[ExtendedActorSystem].provider.getDefaultAddress
|
||||
val firstAddress = node(first).address
|
||||
|
||||
system.actorOf(Props[Subject], "subject")
|
||||
|
||||
enterBarrier("gated")
|
||||
|
||||
Await.ready(system.whenTerminated, 10.seconds)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue