Technoboy- commented on code in PR #15963:
URL: https://github.com/apache/pulsar/pull/15963#discussion_r892338294
##########
pulsar-broker/src/test/java/org/apache/pulsar/client/api/KeySharedSubscriptionTest.java:
##########
@@ -363,6 +363,51 @@ public void
testNonKeySendAndReceiveWithHashRangeExclusiveStickyKeyConsumerSelec
receiveAndCheck(checkList);
}
+ @Test(dataProvider = "batch")
+ public void
testKeySendAndReceiveWithHashRangeExclusiveStickyKeyUnMatchConsumer(boolean
enableBatch)
+ throws PulsarClientException, InterruptedException {
+ this.conf.setSubscriptionKeySharedEnable(true);
Review Comment:
You need to stop the broker and then start again.
##########
pulsar-broker/src/test/java/org/apache/pulsar/client/api/KeySharedSubscriptionTest.java:
##########
@@ -363,6 +363,51 @@ public void
testNonKeySendAndReceiveWithHashRangeExclusiveStickyKeyConsumerSelec
receiveAndCheck(checkList);
}
+ @Test(dataProvider = "batch")
+ public void
testKeySendAndReceiveWithHashRangeExclusiveStickyKeyUnMatchConsumer(boolean
enableBatch)
+ throws PulsarClientException, InterruptedException {
+ this.conf.setSubscriptionKeySharedEnable(true);
Review Comment:
You need to stop the broker and then start again.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]