Skip to content

Commit 5492447

Browse files
committed
fixes test
Signed-off-by: Oleh Dokuka <[email protected]>
1 parent f6b4469 commit 5492447

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,9 @@ public void shouldThrownExceptionIfGivenPayloadIsExitsSizeAllowanceWithNoFragmen
356356
.isInstanceOf(IllegalArgumentException.class)
357357
.hasMessage(INVALID_PAYLOAD_ERROR_MESSAGE))
358358
.verify();
359+
// FIXME: should be removed
360+
Assertions.assertThat(rule.connection.getSent())
361+
.allMatch(bb -> bb.release());
359362
rule.assertHasNoLeaks();
360363
});
361364
}

0 commit comments

Comments
 (0)