File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
rsocket-core/src/test/java/io/rsocket/core Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -491,6 +491,10 @@ public Mono<Void> onClose() {
491
491
492
492
onCloseDelayer .tryEmitEmpty ();
493
493
494
+ onCloseSubscriber .assertNotTerminated ();
495
+
496
+ rule .otherClosedSink .tryEmitEmpty ();
497
+
494
498
onCloseSubscriber .assertTerminated ().assertComplete ();
495
499
496
500
Assertions .assertThat (rule .socket .isDisposed ()).isTrue ();
@@ -512,6 +516,10 @@ public void shouldResolveOnStartSource() {
512
516
513
517
rule .client .onClose ().subscribe (assertSubscriber1 );
514
518
519
+ assertSubscriber1 .assertNotTerminated ();
520
+
521
+ rule .otherClosedSink .tryEmitEmpty ();
522
+
515
523
assertSubscriber1 .assertTerminated ().assertComplete ();
516
524
517
525
Assertions .assertThat (rule .socket .isDisposed ()).isTrue ();
You can’t perform that action at this time.
0 commit comments