Skip to content

Commit af7adf8

Browse files
committed
adds logs
Signed-off-by: Oleh Dokuka <[email protected]> Signed-off-by: Oleh Dokuka <[email protected]>
1 parent f4be4cd commit af7adf8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

rsocket-core/src/main/java/io/rsocket/internal/UnboundedProcessor.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,11 @@ public void dispose() {
440440

441441
if (a != null && once) {
442442
try {
443+
System.out.println("sending error");
443444
a.onError(error);
444445
} catch (Throwable ignored) {
446+
System.out.println("bubbled");
447+
ignored.printStackTrace();
445448
}
446449
}
447450

rsocket-core/src/test/java/io/rsocket/internal/UnboundedProcessorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public void ensureUnboundedProcessorDisposesQueueProperly(boolean withFusionEnab
147147

148148
@RepeatedTest(
149149
name =
150-
"Ensures that racing between onNext + dispose | downstream async drain) should not cause any issues and leaks",
150+
"Ensures that racing between onNext + dispose | downstream async drain should not cause any issues and leaks",
151151
value = 100000)
152152
@Timeout(60)
153153
public void ensuresAsyncFusionAndDisposureHasNoDeadlock() {

0 commit comments

Comments
 (0)