syhily commented on code in PR #24:
URL: 
https://github.com/apache/flink-connector-pulsar/pull/24#discussion_r1103451369


##########
flink-connector-pulsar/src/test/java/org/apache/flink/connector/pulsar/testutils/source/cases/MultipleTopicsConsumingContext.java:
##########
@@ -56,7 +57,11 @@ protected String subscriptionName() {
     @Override
     protected String generatePartitionName() {
         String topic = topicPrefix + index;
-        operator.createTopic(topic, 1);
+        try {
+            operator.createTopic(topic, 1);
+        } catch (Exception e) {

Review Comment:
   I'll keep it unfixed in this PR until it get fixed in 
[FLINK-31014](https://issues.apache.org/jira/browse/FLINK-31014).



##########
flink-connector-pulsar/src/test/java/org/apache/flink/connector/pulsar/testutils/sink/PulsarSinkTestContext.java:
##########
@@ -55,7 +56,11 @@ public Sink<String> createSink(TestingSinkSettings 
sinkSettings) {
         // Create the topic if it needs.
         if (creatTopic()) {
             for (String topic : topics) {
-                operator.createTopic(topic, 4);
+                try {
+                    operator.createTopic(topic, 4);
+                } catch (Exception e) {

Review Comment:
   I'll keep it unfixed in this PR until it get fixed in 
[FLINK-31014](https://issues.apache.org/jira/browse/FLINK-31014).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to