Skip to content

Commit 5ed16d9

Browse files
author
Oleh Dokuka
committed
fixes test expectation
Signed-off-by: Oleh Dokuka <[email protected]> Signed-off-by: Oleh Dokuka <[email protected]> Signed-off-by: OlegDokuka <[email protected]>
1 parent 1936e8c commit 5ed16d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rsocket-core/src/test/java/io/rsocket/resume/ClientRSocketSessionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ void shouldTerminateConnectionOnIllegalStateInKeepAliveFrame() {
457457
.typeOf(FrameType.ERROR)
458458
.matches(ReferenceCounted::release);
459459

460-
resumableDuplexConnection.onClose().as(StepVerifier::create).expectError().verify();
460+
resumableDuplexConnection.onClose().as(StepVerifier::create).expectComplete().verify();
461461

462462
transport.alloc().assertHasNoLeaks();
463463
} finally {

0 commit comments

Comments
 (0)