Skip to content

Commit

Permalink
HBASE-27051 TestReplicationSource.testReplicationSourceInitializingMe…
Browse files Browse the repository at this point in the history
…tric is flaky (#4448)

Signed-off-by: Wellington Chevreuil <[email protected]>
Signed-off-by: Viraj Jasani <[email protected]>
  • Loading branch information
apurtell authored and petersomogyi committed Jun 22, 2022
1 parent 230e0a2 commit cd2a7ff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -571,9 +571,9 @@ public void testReplicationSourceInitializingMetric() throws IOException {
try {
rs.startup();
assertTrue(rs.isSourceActive());
Waiter.waitFor(conf, 1000, () -> rs.getSourceMetrics().getSourceInitializing() == 1);
Waiter.waitFor(conf, 10000, () -> rs.getSourceMetrics().getSourceInitializing() == 1);
BadReplicationEndpoint.failing = false;
Waiter.waitFor(conf, 1000, () -> rs.getSourceMetrics().getSourceInitializing() == 0);
Waiter.waitFor(conf, 10000, () -> rs.getSourceMetrics().getSourceInitializing() == 0);
} finally {
rs.terminate("Done");
rss.stop("Done");
Expand Down

0 comments on commit cd2a7ff

Please sign in to comment.