Diagnose BalancingSpec failure (#30438)

For #30359
This commit is contained in:
Arnout Engelen 2021-08-02 14:23:47 +02:00 committed by GitHub
parent 4129a75db0
commit e127d1916f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,9 +83,9 @@ class BalancingSpec extends AkkaSpec("""
// all but one worker are blocked
val replies1 = receiveN(iterationCount - poolSize + 1)
expectNoMessage(1.second)
// all replies from the unblocked worker so far
replies1.toSet should be(Set(1))
expectNoMessage(1.second)
latch.open()
val replies2 = receiveN(poolSize - 1)