Skip to content

Commit

Permalink
Revert "HBASE-27051 TestReplicationSource.testReplicationSourceInitia…
Browse files Browse the repository at this point in the history
…lizingMetric is flaky (apache#4448)"

This reverts commit ca67420.
  • Loading branch information
wenwj0 authored Jun 14, 2022
1 parent c961ab9 commit c4049ec
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, 10000, () -> rs.getSourceMetrics().getSourceInitializing() == 1);
Waiter.waitFor(conf, 1000, () -> rs.getSourceMetrics().getSourceInitializing() == 1);
BadReplicationEndpoint.failing = false;
Waiter.waitFor(conf, 10000, () -> rs.getSourceMetrics().getSourceInitializing() == 0);
Waiter.waitFor(conf, 1000, () -> rs.getSourceMetrics().getSourceInitializing() == 0);
} finally {
rs.terminate("Done");
rss.stop("Done");
Expand Down

0 comments on commit c4049ec

Please sign in to comment.