Use short configurable timeout for expectNoMessage #27212 (#27213)

* Use short configurable timeout for expectNoMessage #27212

* consistent with ActorTestKit in Typed

* fix config
This commit is contained in:
Patrik Nordwall 2019-06-26 15:35:20 +01:00 committed by Arnout Engelen
parent e567272766
commit 50e99e08d8
19 changed files with 78 additions and 67 deletions

View file

@ -152,6 +152,7 @@ object TestPublisher {
/**
* Expect no messages.
* Waits for the default period configured as `akka.actor.testkit.expect-no-message-default`.
*/
def expectNoMessage(): Self = executeAfterSubscription {
probe.expectNoMessage()