Skip to content

Commit 96a71a9

Browse files
committed
Fix the tests with same namespace name (#22240)
1 parent 63440e5 commit 96a71a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pulsar-broker/src/test/java/org/apache/pulsar/broker/transaction/TransactionTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@ public void testGetTxnState() throws Exception {
16641664

16651665
@Test
16661666
public void testEncryptionRequired() throws Exception {
1667-
final String namespace = "tnx/ns-prechecks";
1667+
final String namespace = "tnx/testEncryptionRequired";
16681668
final String topic = "persistent://" + namespace + "/test_transaction_topic";
16691669
admin.namespaces().createNamespace(namespace);
16701670
admin.namespaces().setEncryptionRequiredStatus(namespace, true);
@@ -1797,7 +1797,7 @@ private void getTopic(String topicName) {
17971797

17981798
@Test
17991799
public void testReadCommittedWithReadCompacted() throws Exception{
1800-
final String namespace = "tnx/ns-prechecks";
1800+
final String namespace = "tnx/testReadCommittedWithReadCompacted";
18011801
final String topic = "persistent://" + namespace + "/test_transaction_topic";
18021802
admin.namespaces().createNamespace(namespace);
18031803
admin.topics().createNonPartitionedTopic(topic);
@@ -1853,7 +1853,7 @@ public void testReadCommittedWithReadCompacted() throws Exception{
18531853

18541854
@Test
18551855
public void testReadCommittedWithCompaction() throws Exception{
1856-
final String namespace = "tnx/ns-prechecks";
1856+
final String namespace = "tnx/testReadCommittedWithCompaction";
18571857
final String topic = "persistent://" + namespace + "/test_transaction_topic" + UUID.randomUUID();
18581858
admin.namespaces().createNamespace(namespace);
18591859
admin.topics().createNonPartitionedTopic(topic);

0 commit comments

Comments
 (0)