HBASE-19685 Fix TestFSErrorsExposed#testFullSystemBubblesFSErrors by increasing 
scanner timeout.

Signed-off-by: Apekshit Sharma <a...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/5d4140e0
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5d4140e0
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5d4140e0

Branch: refs/heads/HBASE-19397-branch-2
Commit: 5d4140e09d8ecf16a6e7d845129759c30e62f9af
Parents: 31fe5db
Author: Chia-Ping Tsai <chia7...@gmail.com>
Authored: Thu Jan 11 10:27:18 2018 -0800
Committer: Apekshit Sharma <a...@apache.org>
Committed: Thu Jan 11 10:35:36 2018 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/5d4140e0/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
----------------------------------------------------------------------
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
index bd66bde..bbf06fd 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
@@ -188,6 +188,7 @@ public class TestFSErrorsExposed {
     try {
       // Make it fail faster.
       util.getConfiguration().setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 
1);
+      
util.getConfiguration().setInt(HConstants.HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD, 
90000);
       util.getConfiguration().setInt("hbase.lease.recovery.timeout", 10000);
       util.getConfiguration().setInt("hbase.lease.recovery.dfs.timeout", 1000);
       util.startMiniCluster(1);

Reply via email to