Terminate zeromq context after actors have terminated. See #2838
This commit is contained in:
parent
cd9fae81e5
commit
8f29022ef5
1 changed files with 4 additions and 0 deletions
|
|
@ -99,6 +99,8 @@ class ConcurrentSocketActorSpec extends AkkaSpec {
|
||||||
system stop requester
|
system stop requester
|
||||||
system stop replier
|
system stop replier
|
||||||
replierProbe.expectMsg(Closed)
|
replierProbe.expectMsg(Closed)
|
||||||
|
awaitCond(requester.isTerminated)
|
||||||
|
awaitCond(replier.isTerminated)
|
||||||
context.term
|
context.term
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -120,6 +122,8 @@ class ConcurrentSocketActorSpec extends AkkaSpec {
|
||||||
system stop pusher
|
system stop pusher
|
||||||
system stop puller
|
system stop puller
|
||||||
pullerProbe.expectMsg(Closed)
|
pullerProbe.expectMsg(Closed)
|
||||||
|
awaitCond(pusher.isTerminated)
|
||||||
|
awaitCond(puller.isTerminated)
|
||||||
context.term
|
context.term
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue