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() {
491491
492492 onCloseDelayer .tryEmitEmpty ();
493493
494+ onCloseSubscriber .assertNotTerminated ();
495+
496+ rule .otherClosedSink .tryEmitEmpty ();
497+
494498 onCloseSubscriber .assertTerminated ().assertComplete ();
495499
496500 Assertions .assertThat (rule .socket .isDisposed ()).isTrue ();
@@ -512,6 +516,10 @@ public void shouldResolveOnStartSource() {
512516
513517 rule .client .onClose ().subscribe (assertSubscriber1 );
514518
519+ assertSubscriber1 .assertNotTerminated ();
520+
521+ rule .otherClosedSink .tryEmitEmpty ();
522+
515523 assertSubscriber1 .assertTerminated ().assertComplete ();
516524
517525 Assertions .assertThat (rule .socket .isDisposed ()).isTrue ();
You can’t perform that action at this time.
0 commit comments