Skip to content

Commit

Permalink
flaky test: testReplicatorWithFailedAck
Browse files Browse the repository at this point in the history
  • Loading branch information
liangyepianzhou committed Feb 16, 2024
1 parent f94669b commit 1438b32
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1682,6 +1682,7 @@ public void testReplicatorWithFailedAck() throws Exception {

MessageIdImpl lastMessageId = (MessageIdImpl) topic.getLastMessageId().get();
Position lastPosition = PositionImpl.get(lastMessageId.getLedgerId(), lastMessageId.getEntryId());
Awaitility.await().untilAsserted(() -> assertNotNull(topic.getReplicators().get("r2")));
ConcurrentOpenHashMap<String, Replicator> replicators = topic.getReplicators();
PersistentReplicator replicator = (PersistentReplicator) replicators.get("r2");

Expand Down

0 comments on commit 1438b32

Please sign in to comment.