[ 
https://issues.apache.org/jira/browse/HBASE-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16452008#comment-16452008
 ] 

Zheng Hu commented on HBASE-20476:
----------------------------------

I've tried to increase the sleep  time from 500 to 5000,  the failed count 
decrease but still fail some time under my local.   Seems like the 
SerialReplicationSourceWALReader is more slower than 
ReplicationSourceWALReader...  will dig deeper. 

{code}
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationBase.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationBase.java
index e0798a4..d94f7a3 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationBase.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationBase.java
@@ -86,7 +86,7 @@ public class TestReplicationBase {
   protected static final int NB_ROWS_IN_BATCH = 100;
   protected static final int NB_ROWS_IN_BIG_BATCH =
       NB_ROWS_IN_BATCH * 10;
-  protected static final long SLEEP_TIME = 500;
+  protected static final long SLEEP_TIME = 5000;
   protected static final int NB_RETRIES = 10;
 
   protected static final TableName tableName = TableName.valueOf("test");
{code} 

> Fix the flaky TestReplicationSmallTests unit test
> -------------------------------------------------
>
>                 Key: HBASE-20476
>                 URL: https://issues.apache.org/jira/browse/HBASE-20476
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Zheng Hu
>            Assignee: Zheng Hu
>            Priority: Major
>
> See 
> https://builds.apache.org/job/HBASE-Find-Flaky-Tests/lastSuccessfulBuild/artifact/dashboard.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to