Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Commit b810bd6

Browse files
[fix][test] Fix the tests with same namespace name (apache#22240)
1 parent 0108428 commit b810bd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

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

16661666
@Test
16671667
public void testEncryptionRequired() throws Exception {
1668-
final String namespace = "tnx/ns-prechecks";
1668+
final String namespace = "tnx/testEncryptionRequired";
16691669
final String topic = "persistent://" + namespace + "/test_transaction_topic";
16701670
admin.namespaces().createNamespace(namespace);
16711671
admin.namespaces().setEncryptionRequiredStatus(namespace, true);
@@ -1913,7 +1913,7 @@ public void testReadCommittedWithCompaction() throws Exception{
19131913
@Test
19141914
public void testDelayedDeliveryExceedsMaxDelay() throws Exception {
19151915
final long maxDeliveryDelayInMillis = 5000;
1916-
final String namespace = "tnx/ns-prechecks";
1916+
final String namespace = "tnx/testDelayedDeliveryExceedsMaxDelay";
19171917
final String topic = "persistent://" + namespace + "/test_transaction_topic" + UUID.randomUUID();
19181918
admin.namespaces().createNamespace(namespace);
19191919
admin.topics().createNonPartitionedTopic(topic);

0 commit comments

Comments
 (0)