Repository: hbase
Updated Branches:
  refs/heads/branch-2 90a75fb05 -> 364650bad


HBASE-19868 TestCoprocessorWhitelistMasterObserver is flakey


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

Branch: refs/heads/branch-2
Commit: 364650bad519e3966dd8033464413c82e75eee06
Parents: 90a75fb
Author: Michael Stack <st...@apache.org>
Authored: Mon Jan 29 21:33:16 2018 -0800
Committer: Michael Stack <st...@apache.org>
Committed: Mon Jan 29 21:33:16 2018 -0800

----------------------------------------------------------------------
 .../access/TestCoprocessorWhitelistMasterObserver.java       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/364650ba/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestCoprocessorWhitelistMasterObserver.java
----------------------------------------------------------------------
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestCoprocessorWhitelistMasterObserver.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestCoprocessorWhitelistMasterObserver.java
index 1686ba3..c161b9e 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestCoprocessorWhitelistMasterObserver.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestCoprocessorWhitelistMasterObserver.java
@@ -103,7 +103,7 @@ public class TestCoprocessorWhitelistMasterObserver extends 
SecureTestUtil {
         CoprocessorWhitelistMasterObserver.CP_COPROCESSOR_WHITELIST_PATHS_KEY,
         whitelistedPaths);
     // set retries low to raise exception quickly
-    conf.setInt("hbase.client.retries.number", 1);
+    conf.setInt("hbase.client.retries.number", 5);
     UTIL.startMiniCluster();
     UTIL.createTable(TEST_TABLE, new byte[][] { TEST_FAMILY });
     UTIL.waitUntilAllRegionsAssigned(TEST_TABLE);
@@ -137,7 +137,7 @@ public class TestCoprocessorWhitelistMasterObserver extends 
SecureTestUtil {
   private static void negativeTestCase(String[] whitelistedPaths,
       String coprocessorPath) throws Exception {
     Configuration conf = UTIL.getConfiguration();
-    conf.setInt("hbase.client.retries.number", 1);
+    conf.setInt("hbase.client.retries.number", 5);
     // load coprocessor under test
     conf.set(CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY,
         CoprocessorWhitelistMasterObserver.class.getName());
@@ -269,7 +269,7 @@ public class TestCoprocessorWhitelistMasterObserver extends 
SecureTestUtil {
     
conf.setStrings(CoprocessorWhitelistMasterObserver.CP_COPROCESSOR_WHITELIST_PATHS_KEY,
         new String[]{});
     // set retries low to raise exception quickly
-    conf.setInt("hbase.client.retries.number", 1);
+    conf.setInt("hbase.client.retries.number", 5);
     UTIL.startMiniCluster();
     HTableDescriptor htd = new HTableDescriptor(TEST_TABLE);
     HColumnDescriptor hcd = new HColumnDescriptor(TEST_FAMILY);
@@ -314,7 +314,7 @@ public class TestCoprocessorWhitelistMasterObserver extends 
SecureTestUtil {
     
conf.setStrings(CoprocessorWhitelistMasterObserver.CP_COPROCESSOR_WHITELIST_PATHS_KEY,
         new String[]{});
     // set retries low to raise exception quickly
-    conf.setInt("hbase.client.retries.number", 1);
+    conf.setInt("hbase.client.retries.number", 5);
     UTIL.startMiniCluster();
     HTableDescriptor htd = new HTableDescriptor(TEST_TABLE);
     HColumnDescriptor hcd = new HColumnDescriptor(TEST_FAMILY);

Reply via email to