From b810bd6d4aaae30b8e46863175754d476b834bac Mon Sep 17 00:00:00 2001 From: Xiangying Meng <55571188+liangyepianzhou@users.noreply.github.com> Date: Mon, 11 Mar 2024 23:51:40 +0800 Subject: [PATCH] [fix][test] Fix the tests with same namespace name (#22240) --- .../org/apache/pulsar/broker/transaction/TransactionTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/broker/transaction/TransactionTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/broker/transaction/TransactionTest.java index a0a28262faae5..ddfa82f52886f 100644 --- a/pulsar-broker/src/test/java/org/apache/pulsar/broker/transaction/TransactionTest.java +++ b/pulsar-broker/src/test/java/org/apache/pulsar/broker/transaction/TransactionTest.java @@ -1665,7 +1665,7 @@ public void testGetTxnState() throws Exception { @Test public void testEncryptionRequired() throws Exception { - final String namespace = "tnx/ns-prechecks"; + final String namespace = "tnx/testEncryptionRequired"; final String topic = "persistent://" + namespace + "/test_transaction_topic"; admin.namespaces().createNamespace(namespace); admin.namespaces().setEncryptionRequiredStatus(namespace, true); @@ -1913,7 +1913,7 @@ public void testReadCommittedWithCompaction() throws Exception{ @Test public void testDelayedDeliveryExceedsMaxDelay() throws Exception { final long maxDeliveryDelayInMillis = 5000; - final String namespace = "tnx/ns-prechecks"; + final String namespace = "tnx/testDelayedDeliveryExceedsMaxDelay"; final String topic = "persistent://" + namespace + "/test_transaction_topic" + UUID.randomUUID(); admin.namespaces().createNamespace(namespace); admin.topics().createNonPartitionedTopic(topic);