@@ -54,7 +54,7 @@ public StreamPuppet(IPublisher<int> p, TestKitBase kit)
54
54
55
55
public async Task ExpectNextAsync ( int element ) => await _probe . ExpectNextAsync ( element ) ;
56
56
57
- public async Task ExpectNoMsgAsync ( TimeSpan max ) => await _probe . ExpectNoMsgAsync ( max ) ;
57
+ public void ExpectNoMsg ( TimeSpan max ) => _probe . ExpectNoMsg ( max ) ;
58
58
59
59
public async Task ExpectCompleteAsync ( ) => await _probe . ExpectCompleteAsync ( ) ;
60
60
@@ -93,7 +93,7 @@ await this.AssertAllStagesStoppedAsync(() => {
93
93
{
94
94
var s1 = new StreamPuppet ( getSubFlow ( )
95
95
. RunWith ( Sink . AsPublisher < int > ( false ) , Materializer ) , this ) ;
96
- await masterSubscriber . ExpectNoMsgAsync ( TimeSpan . FromMilliseconds ( 100 ) ) ;
96
+ masterSubscriber . ExpectNoMsg ( TimeSpan . FromMilliseconds ( 100 ) ) ;
97
97
s1 . Request ( 2 ) ;
98
98
await s1 . ExpectNextAsync ( 1 ) ;
99
99
await s1 . ExpectNextAsync ( 2 ) ;
@@ -102,11 +102,11 @@ await this.AssertAllStagesStoppedAsync(() => {
102
102
103
103
var s2 = new StreamPuppet ( getSubFlow ( )
104
104
. RunWith ( Sink . AsPublisher < int > ( false ) , Materializer ) , this ) ;
105
- await masterSubscriber . ExpectNoMsgAsync ( TimeSpan . FromMilliseconds ( 100 ) ) ;
105
+ masterSubscriber . ExpectNoMsg ( TimeSpan . FromMilliseconds ( 100 ) ) ;
106
106
107
107
s2 . Request ( 1 ) ;
108
- await s2 . ExpectNextAsync ( 3 ) ;
109
- await s2 . ExpectNoMsgAsync ( TimeSpan . FromMilliseconds ( 100 ) ) ;
108
+ await s2 . ExpectNextAsync ( 3 ) ;
109
+ s2 . ExpectNoMsg ( TimeSpan . FromMilliseconds ( 100 ) ) ;
110
110
111
111
s2 . Request ( 1 ) ;
112
112
await s2 . ExpectNextAsync ( 4 ) ;
0 commit comments