Skip to content

Commit

Permalink
fix more flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Tucker committed Nov 8, 2023
1 parent ac96965 commit 4e35eb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void testOnDemandUpdateRateLimiting() throws Throwable {
assertTrue(replicator.onDemandUpdate());
Thread.sleep(10); // give some time for execution
assertFalse(replicator.onDemandUpdate());
Thread.sleep(10);
Thread.sleep(1000);

verify(discoveryClient, times(2)).refreshInstanceInfo();
verify(discoveryClient, times(1)).register();
Expand Down

0 comments on commit 4e35eb0

Please sign in to comment.