You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by bo...@apache.org on 2022/11/15 13:00:57 UTC

[pulsar] branch branch-2.9 updated: fix flaky test testFailoverSingleAckedPartitionedTopic

This is an automated email from the ASF dual-hosted git repository.

bogong pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-2.9 by this push:
     new 9ae2f403ee4 fix flaky test testFailoverSingleAckedPartitionedTopic
9ae2f403ee4 is described below

commit 9ae2f403ee47b81cd576996eed77ca5fe6bc92e8
Author: congbobo184 <co...@github.com>
AuthorDate: Tue Nov 15 21:00:48 2022 +0800

    fix flaky test testFailoverSingleAckedPartitionedTopic
---
 .../test/java/org/apache/pulsar/broker/service/ResendRequestTest.java  | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ResendRequestTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ResendRequestTest.java
index 3a742863b5b..74fb5cc5b20 100644
--- a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ResendRequestTest.java
+++ b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ResendRequestTest.java
@@ -644,9 +644,6 @@ public class ResendRequestTest extends BrokerTestBase {
         if ((ackCount1 + ackCount2) == totalMessages) {
             return;
         }
-        // 5. Ask for redeliver
-        log.info(key + ": Sent a Redeliver Message Request");
-        consumer1.redeliverUnacknowledgedMessages();
         consumer1.close();
 
         // 6. Check if Messages redelivered again