You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2020/05/28 20:27:23 UTC

[pulsar] branch master updated: Fix flaky ReplicatorTest.testUpdateGlobalTopicPartition (#7075)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new f609eb6  Fix flaky ReplicatorTest.testUpdateGlobalTopicPartition (#7075)
f609eb6 is described below

commit f609eb69d8ba238a372049ec8eb505ded729ae29
Author: Matteo Merli <mm...@apache.org>
AuthorDate: Thu May 28 13:27:05 2020 -0700

    Fix flaky ReplicatorTest.testUpdateGlobalTopicPartition (#7075)
---
 .../src/test/java/org/apache/pulsar/broker/service/ReplicatorTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ReplicatorTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ReplicatorTest.java
index 95edfe2..ee71dc2 100644
--- a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ReplicatorTest.java
+++ b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ReplicatorTest.java
@@ -868,7 +868,7 @@ public class ReplicatorTest extends ReplicatorTestBase {
 
         final String cluster1 = pulsar1.getConfig().getClusterName();
         final String cluster2 = pulsar2.getConfig().getClusterName();
-        final String namespace = "pulsar/global/ns3";
+        final String namespace = "pulsar/ns-" + System.nanoTime();
         final String topicName = "persistent://" + namespace + "/topic1";
         int startPartitions = 4;
         int newPartitions = 8;