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

Commit

Permalink
[fix][test] Fix the tests with same namespace name (apache#22240)
Browse files Browse the repository at this point in the history
  • Loading branch information
liangyepianzhou authored Mar 11, 2024
1 parent 0108428 commit b810bd6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b810bd6

Please sign in to comment.