This is an automated email from the ASF dual-hosted git repository.

psomogyi pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new cd2a7ff1c03 HBASE-27051 
TestReplicationSource.testReplicationSourceInitializingMetric is flaky (#4448)
cd2a7ff1c03 is described below

commit cd2a7ff1c0358407d37cc09e89a52d44b7b4036c
Author: Andrew Purtell <[email protected]>
AuthorDate: Fri May 20 15:10:42 2022 -0700

    HBASE-27051 TestReplicationSource.testReplicationSourceInitializingMetric 
is flaky (#4448)
    
    Signed-off-by: Wellington Chevreuil <[email protected]>
    Signed-off-by: Viraj Jasani <[email protected]>
---
 .../hadoop/hbase/replication/regionserver/TestReplicationSource.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSource.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSource.java
index 41a8e1fa5f1..a7a58425e2d 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSource.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSource.java
@@ -571,9 +571,9 @@ public class TestReplicationSource {
     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");

Reply via email to