File tree 2 files changed +1
-5
lines changed
main/java/com/rabbitmq/stream/impl
test/java/com/rabbitmq/stream/impl
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -462,7 +462,7 @@ private ClientSubscriptionsManager(
462
462
SubscriptionTracker subscriptionTracker =
463
463
subscriptionTrackers .get (subscriptionId & 0xFF );
464
464
465
- if (subscriptionTracker != null && subscriptionTracker . consumer . isOpen () ) {
465
+ if (subscriptionTracker != null ) {
466
466
subscriptionTracker .offset = offset ;
467
467
subscriptionTracker .hasReceivedSomething = true ;
468
468
subscriptionTracker .messageHandler .handle (
Original file line number Diff line number Diff line change @@ -397,8 +397,6 @@ void subscribeShouldSubscribeToStreamAndDispatchMessage_UnsubscribeShouldUnsubsc
397
397
anyMap ()))
398
398
.thenReturn (new Client .Response (Constants .RESPONSE_CODE_OK ));
399
399
400
- when (consumer .isOpen ()).thenReturn (true );
401
-
402
400
AtomicInteger messageHandlerCalls = new AtomicInteger ();
403
401
AtomicInteger trackingClosingCallbackCalls = new AtomicInteger ();
404
402
Runnable closingRunnable =
@@ -445,8 +443,6 @@ void subscribeShouldSubscribeToStreamAndDispatchMessageWithManySubscriptions() {
445
443
anyMap ()))
446
444
.thenReturn (new Client .Response (Constants .RESPONSE_CODE_OK ));
447
445
448
- when (consumer .isOpen ()).thenReturn (true );
449
-
450
446
Map <Byte , Integer > messageHandlerCalls = new ConcurrentHashMap <>();
451
447
List <Runnable > closingRunnables = new ArrayList <>();
452
448
for (int i = 0 ; i < ConsumersCoordinator .MAX_SUBSCRIPTIONS_PER_CLIENT ; i ++) {
You can’t perform that action at this time.
0 commit comments