Technoboy- commented on code in PR #20546:
URL: https://github.com/apache/pulsar/pull/20546#discussion_r1226419133


##########
pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ClusterMigrationTest.java:
##########
@@ -458,8 +458,8 @@ public void 
testClusterMigrationWithReplicationBacklog(boolean persistent, Subsc
         retryStrategically((test) -> !topic1.isReplicationBacklogExist(), 10, 
1000);
         assertFalse(topic1.isReplicationBacklogExist());
 
-        producer1.send("test".getBytes());
         // verify that the producer1 is now connected to migrated cluster "r2" 
since backlog is cleared.
+        retryStrategically((test) -> topic2.getProducers().size() == 2, 60, 
1000);

Review Comment:
   So we can remove line-463



-- 
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