Add expectNoMessage to subscriber probe
This commit is contained in:
parent
e3dc7b16b3
commit
f75f1943a2
5 changed files with 19 additions and 7 deletions
|
|
@ -33,7 +33,7 @@ class RecipeSimpleDrop extends RecipeSpec {
|
|||
messageSource.via(realDroppyStream).to(sink).run()
|
||||
|
||||
val subscription = sub.expectSubscription()
|
||||
sub.expectNoMsg(100.millis)
|
||||
sub.expectNoMessage()
|
||||
|
||||
pub.sendNext("1")
|
||||
pub.sendNext("2")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue