Add expectNoMessage to subscriber probe

This commit is contained in:
Martynas Mickevičius 2019-07-02 15:08:28 +03:00
parent e3dc7b16b3
commit f75f1943a2
No known key found for this signature in database
GPG key ID: E735DF276C508071
5 changed files with 19 additions and 7 deletions

View file

@ -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")