Skip to content

Commit 59b9f10

Browse files
committed
cleanups
Signed-off-by: Oleh Dokuka <[email protected]> Signed-off-by: Oleh Dokuka <[email protected]>
1 parent 3b53f52 commit 59b9f10

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ void drainFused(Subscriber<? super T> a) {
176176

177177
Throwable ex = error;
178178
if (ex != null) {
179-
System.out.println("Send Error");
180179
a.onError(ex);
181180
} else {
182181
a.onComplete();

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public void ensureUnboundedProcessorDisposesQueueProperly(boolean withFusionEnab
149149
name =
150150
"Ensures that racing between onNext + dispose | downstream async drain) should not cause any issues and leaks",
151151
value = 100000)
152-
@Timeout(10)
152+
@Timeout(60)
153153
public void ensuresAsyncFusionAndDisposureHasNoDeadlock() {
154154
final LeaksTrackingByteBufAllocator allocator =
155155
LeaksTrackingByteBufAllocator.instrument(ByteBufAllocator.DEFAULT);
@@ -176,7 +176,7 @@ public void ensuresAsyncFusionAndDisposureHasNoDeadlock() {
176176
unboundedProcessor::dispose,
177177
Schedulers.elastic());
178178

179-
assertSubscriber.await(Duration.ofSeconds(5)).values().forEach(ReferenceCountUtil::safeRelease);
179+
assertSubscriber.await(Duration.ofSeconds(50)).values().forEach(ReferenceCountUtil::safeRelease);
180180

181181
allocator.assertHasNoLeaks();
182182
}

0 commit comments

Comments
 (0)