aahmed-se commented on a change in pull request #2078: Enhance Pulsar cluster 
with container logs
URL: https://github.com/apache/incubator-pulsar/pull/2078#discussion_r199942587
 
 

 ##########
 File path: 
tests/integration-tests-topologies/src/main/java/org/apache/pulsar/tests/topologies/PulsarClusterTestBase.java
 ##########
 @@ -56,19 +57,15 @@
     protected static PulsarCluster pulsarCluster;
 
     @BeforeClass
-    public static void setupCluster() throws Exception {
-        StringBuilder sb = new StringBuilder();
-        for (int i = 0; i < 8; i++) {
-            sb.append((char) (ThreadLocalRandom.current().nextInt(26) + 'a'));
-        }
+    public void setupCluster() throws Exception {
         PulsarClusterSpec spec = PulsarClusterSpec.builder()
-            .clusterName(sb.toString())
+            .clusterName(this.getClass().getSimpleName())
 
 Review comment:
   randomization does not give us any benefits us.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to