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:39:04 UTC
(pulsar) branch branch-3.1 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-3.1
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new b10f9c8bffa [fix][test] Fix test testTransactionBufferMetrics (#22117)
b10f9c8bffa is described below
commit b10f9c8bffa8040493a2b53683e73537da70747b
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 3873d9d37b2..1dc086dbe34 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
@@ -210,6 +210,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();