Increase timeouts in ConcurrentSocketActorSpec, see #3421
* Failure was caused by 2.6 s GC pause
This commit is contained in:
parent
2afbf2b8ec
commit
97471f94c6
1 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ class ConcurrentSocketActorSpec extends AkkaSpec {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
subscriberProbe.expectMsg(Connecting)
|
subscriberProbe.expectMsg(Connecting)
|
||||||
val msgNumbers = subscriberProbe.receiveWhile(2 seconds) {
|
val msgNumbers = subscriberProbe.receiveWhile(3 seconds) {
|
||||||
case msg: ZMQMessage if msg.frames.size == 2 ⇒
|
case msg: ZMQMessage if msg.frames.size == 2 ⇒
|
||||||
msg.frames(1).length must be(0)
|
msg.frames(1).length must be(0)
|
||||||
msg
|
msg
|
||||||
|
|
@ -69,7 +69,7 @@ class ConcurrentSocketActorSpec extends AkkaSpec {
|
||||||
msgGenerator.cancel()
|
msgGenerator.cancel()
|
||||||
system stop publisher
|
system stop publisher
|
||||||
system stop subscriber
|
system stop subscriber
|
||||||
subscriberProbe.receiveWhile(1 seconds) {
|
subscriberProbe.receiveWhile(3 seconds) {
|
||||||
case msg ⇒ msg
|
case msg ⇒ msg
|
||||||
}.last must equal(Closed)
|
}.last must equal(Closed)
|
||||||
awaitCond(publisher.isTerminated)
|
awaitCond(publisher.isTerminated)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue