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_r199952039
##########
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:
will add some random characters
----------------------------------------------------------------
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