Skip to content

Commit 9cc2387

Browse files
committed
fixes test
Signed-off-by: Oleh Dokuka <[email protected]> Signed-off-by: Oleh Dokuka <[email protected]>
1 parent 24dab10 commit 9cc2387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rsocket-core/src/test/java/io/rsocket/core/RSocketRequesterTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ public void shouldTerminateAllStreamsIfThereRacingBetweenDisposeAndRequests(
10851085
() -> publisher2.subscribe(assertSubscriber2));
10861086

10871087
assertSubscriber1.await().assertTerminated();
1088-
if (interactionType1 != REQUEST_FNF) {
1088+
if (interactionType1 != REQUEST_FNF && interactionType1 != METADATA_PUSH) {
10891089
assertSubscriber1.assertError(ClosedChannelException.class);
10901090
} else {
10911091
try {
@@ -1096,7 +1096,7 @@ public void shouldTerminateAllStreamsIfThereRacingBetweenDisposeAndRequests(
10961096
}
10971097
}
10981098
assertSubscriber2.await().assertTerminated();
1099-
if (interactionType2 != REQUEST_FNF) {
1099+
if (interactionType2 != REQUEST_FNF && interactionType2 != METADATA_PUSH) {
11001100
assertSubscriber2.assertError(ClosedChannelException.class);
11011101
} else {
11021102
try {

0 commit comments

Comments
 (0)