Skip to content

Commit

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

Signed-off-by: Wellington Chevreuil <[email protected]>
Signed-off-by: Viraj Jasani <[email protected]>
  • Loading branch information
apurtell authored and wenwj0 committed Jun 14, 2022
1 parent 3e88024 commit ca67420
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 ca67420

Please sign in to comment.