You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2024/02/27 06:40:01 UTC

(pulsar) branch branch-2.11 updated: [fix][test] Fix test testTransactionBufferMetrics (#22117)

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

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


The following commit(s) were added to refs/heads/branch-2.11 by this push:
     new 83a674ce01a [fix][test] Fix test testTransactionBufferMetrics (#22117)
83a674ce01a is described below

commit 83a674ce01a59cdb05a068e89b30de0e4b3f8f81
Author: Xiangying Meng <55...@users.noreply.github.com>
AuthorDate: Tue Feb 27 00:03:16 2024 +0800

    [fix][test] Fix test testTransactionBufferMetrics (#22117)
    
    (cherry picked from commit 0fc9f4465288d1f9938ea717ea2e7c8ff02ebb60)
---
 .../pulsar/broker/transaction/buffer/TransactionBufferClientTest.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/broker/transaction/buffer/TransactionBufferClientTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/broker/transaction/buffer/TransactionBufferClientTest.java
index 455913512ab..09bbc7e086f 100644
--- a/pulsar-broker/src/test/java/org/apache/pulsar/broker/transaction/buffer/TransactionBufferClientTest.java
+++ b/pulsar-broker/src/test/java/org/apache/pulsar/broker/transaction/buffer/TransactionBufferClientTest.java
@@ -160,6 +160,8 @@ public class TransactionBufferClientTest extends TransactionTestBase {
 
     @Test
     public void testTransactionBufferMetrics() throws Exception {
+        this.cleanup();
+        this.setup();
         //Test commit
         for (int i = 0; i < partitions; i++) {
             String topic = partitionedTopicName.getPartition(i).toString();