Ignore leaking log entires from other tests LoggingReceiveSpec #30691 (#30694)

This commit is contained in:
Johan Andrén 2021-09-21 08:28:12 +02:00 committed by GitHub
parent d4c16be279
commit 6581f70c2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,9 +159,11 @@ class LoggingReceiveSpec extends AnyWordSpec with BeforeAndAfterAll {
} }
}) })
actor ! "buh" actor ! "buh"
expectMsg( fishForSpecificMessage() {
Logging case Logging.Info(src, _, msg)
.Info(actor.path.toString, actor.underlyingActor.getClass, "received handled message buh from " + self)) if src == actor.path.toString && msg == "received handled message buh from " + self =>
()
}
expectMsg("x") expectMsg("x")
} }
} }