This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 15a658e5f20 Fix the tests with same namespace name (#22240)
15a658e5f20 is described below
commit 15a658e5f2043140be3163f23eb00bac7253dcc2
Author: Jiwe Guo <[email protected]>
AuthorDate: Fri Mar 15 16:31:22 2024 +0800
Fix the tests with same namespace name (#22240)
---
.../java/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 1ad5ea14e0a..29197f20c95 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
@@ -1648,7 +1648,7 @@ public class TransactionTest extends TransactionTestBase {
@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);
@@ -1781,7 +1781,7 @@ public class TransactionTest extends TransactionTestBase {
@Test
public void testReadCommittedWithReadCompacted() throws Exception{
- final String namespace = "tnx/ns-prechecks";
+ final String namespace = "tnx/testReadCommittedWithReadCompacted";
final String topic = "persistent://" + namespace +
"/test_transaction_topic";
admin.namespaces().createNamespace(namespace);
admin.topics().createNonPartitionedTopic(topic);