Skip to content

Commit

Permalink
[fix][pulsar-broker] Fix flaky testcase - testClusterMigrationWithRep…
Browse files Browse the repository at this point in the history
…licationBacklog
  • Loading branch information
vineeth1995 committed Jun 8, 2023
1 parent 362ece3 commit 75a377f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
assertEquals(topic2.getProducers().size(), 2);
}

Expand Down

0 comments on commit 75a377f

Please sign in to comment.