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

Signed-off-by: Apekshit Sharma <appy@apache.org>
This commit is contained in:
Chia-Ping Tsai 2018-01-11 10:27:18 -08:00 committed by Apekshit Sharma
parent 15bb49d803
commit c88e444408
1 changed files with 1 additions and 0 deletions

View File

@ -188,6 +188,7 @@ public class TestFSErrorsExposed {
try { try {
// Make it fail faster. // Make it fail faster.
util.getConfiguration().setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 1); 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.timeout", 10000);
util.getConfiguration().setInt("hbase.lease.recovery.dfs.timeout", 1000); util.getConfiguration().setInt("hbase.lease.recovery.dfs.timeout", 1000);
util.startMiniCluster(1); util.startMiniCluster(1);