Skip to content

Commit

Permalink
test: Added wait for live key exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
jruaux committed Jul 10, 2023
1 parent 1e78fd7 commit a7fecb5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,8 @@ void replicateLiveKeyExclude() throws Throwable {
}
}, 500, TimeUnit.MILLISECONDS);
execute(filename);
Assertions.assertEquals(badCount, connection.sync().keys("bad:*").size());
Assertions.assertEquals(goodCount, targetConnection.sync().keys("gen:*").size());
awaitUntil(() -> connection.sync().keys("bad:*").size() == badCount);
awaitUntil(() -> targetConnection.sync().keys("gen:*").size() == goodCount);
}

@Test
Expand Down

0 comments on commit a7fecb5

Please sign in to comment.