You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "codelipenghui (via GitHub)" <gi...@apache.org> on 2023/09/07 01:27:41 UTC
[GitHub] [pulsar] codelipenghui commented on a diff in pull request #21103: [fix][test]Flaky test testMaxPendingChunkMessages
codelipenghui commented on code in PR #21103:
URL: https://github.com/apache/pulsar/pull/21103#discussion_r1317985914
##########
pulsar-broker/src/test/java/org/apache/pulsar/client/impl/MessageChunkingTest.java:
##########
@@ -348,6 +363,10 @@ public void testMaxPendingChunkMessages() throws Exception {
assertEquals(receivedMsg.getValue(), "chunk-1-0|chunk-1-1|");
consumer.acknowledge(receivedMsg);
+ assertEquals(admin.topics().getStats(topicName).getSubscriptions().get(subName)
+ .getNonContiguousDeletedMessagesRanges(), 0);
Review Comment:
https://github.com/apache/pulsar/pull/21103/files#diff-9ce7ee7d161127cb26c5c43598bc3cf93021123b69a5f8669c988bdb2a36b795R368-R369 will fixed the flaky test?
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org