Asserts that a subscription has been received or will be received
Expect no messages for a given duration.
Expect no messages for a given duration.
Expect demand from a given subscription.
Expect demand from a given subscription.
Expect a subscription.
Expect a subscription.
Current pending requests.
Receive messages for a given duration or until one does not match a given partial function.
Receive messages for a given duration or until one does not match a given partial function.
Subscribes a given org.reactivestreams.Subscriber to this probe publisher.
Subscribes a given org.reactivestreams.Subscriber to this probe publisher.
Same as calling within(0 seconds, max)(f)
.
Same as calling within(0 seconds, max)(f)
.
Execute code block while bounding its execution time between min
and
max
.
Execute code block while bounding its execution time between min
and
max
. within
blocks may be nested. All methods in this trait which
take maximum wait times are available in a version which implicitly uses
the remaining time governed by the innermost enclosing within
block.
Note that the timeout is scaled using Duration.dilated, which uses the configuration entry "akka.test.timefactor", while the min Duration is not.
val ret = within(50 millis) { test ! "ping" expectMsgClass(classOf[String]) }
Expect no messages for a given duration.
Expect no messages for a given duration. NOTE! Timeout value is automatically multiplied by timeFactor.
(Since version 2.5.5) Use expectNoMessage instead
Expect no messages.
Expect no messages. NOTE! Timeout value is automatically multiplied by timeFactor.
(Since version 2.5.5) Use expectNoMessage instead
Single subscription and demand tracking for TestPublisher.ManualProbe.