pjfanning commented on code in PR #3676:
URL: https://github.com/apache/pekko/pull/3676#discussion_r4362636009
##########
remote/src/test/scala/org/apache/pekko/remote/artery/RemoteConnectionSpec.scala:
##########
@@ -46,6 +46,20 @@ class RemoteConnectionSpec extends
ArteryMultiNodeSpec("pekko.remote.retry-gate-
case w: Logging.Warning => w.message.toString.startsWith("UID collision
old [")
}
+ private def quarantinedProbe(system: ActorSystem): TestProbe = {
+ val probe = new TestProbe(system)
+ system.eventStream.subscribe(probe.ref,
classOf[ThisActorSystemQuarantinedEvent])
+ probe
+ }
Review Comment:
Unsubscribed both probes after their assertion in 4c8d8aed80;
`expectCollisionWarning` had the same pattern on the shared `localSystem`, so
it is fixed too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]