Retry ActorSelection resolve in LargeMessagesStreamSpec, #24143 (#30954)

* failed with ActorNotFound in aeron-udp multi-node tests
This commit is contained in:
Patrik Nordwall 2021-12-01 10:39:33 +01:00 committed by GitHub
parent 37057f430e
commit b336371013
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,5 +149,9 @@ class LargeMessagesStreamSpec
}
}
def awaitResolve(selection: ActorSelection): ActorRef = Await.result(selection.resolveOne(3.seconds), 3.seconds)
def awaitResolve(selection: ActorSelection): ActorRef = {
awaitAssert {
Await.result(selection.resolveOne(1.second), 1.seconds)
}
}
}