hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndimi...@apache.org
Subject hbase git commit: HBASE-13609 TestFastFail is still failing
Date Mon, 18 May 2015 19:49:07 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 00636cc99 -> 8614d8624


HBASE-13609 TestFastFail is still failing


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

Branch: refs/heads/branch-1
Commit: 8614d86243ef8bd7cf27633e6e314b278cef0ab7
Parents: 00636cc
Author: Nick Dimiduk <ndimiduk@apache.org>
Authored: Tue May 5 13:42:47 2015 -0700
Committer: Nick Dimiduk <ndimiduk@apache.org>
Committed: Mon May 18 12:30:59 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/client/TestFastFail.java     | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/8614d862/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFastFail.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFastFail.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFastFail.java
index 916fcf5..b35b2af 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFastFail.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFastFail.java
@@ -62,7 +62,7 @@ public class TestFastFail {
   private static final Random random = new Random();
   private static int SLAVES = 3;
   private static byte[] QUALIFIER = Bytes.toBytes("testQualifier");
-  private static final int SLEEPTIME = 1000;
+  private static final int SLEEPTIME = 5000;
 
   /**
    * @throws java.lang.Exception
@@ -138,7 +138,7 @@ public class TestFastFail {
      * The number of threads that are going to perform actions against the test
      * table.
      */
-    int nThreads = 200;
+    int nThreads = 100;
     ExecutorService service = Executors.newFixedThreadPool(nThreads);
     final CountDownLatch continueOtherHalf = new CountDownLatch(1);
     final CountDownLatch doneHalfway = new CountDownLatch(nThreads);
@@ -161,8 +161,7 @@ public class TestFastFail {
          */
         public Boolean call() throws Exception {
           try (Table table = connection.getTable(TableName.valueOf(tableName))) {
-            Thread.sleep(Math.abs(random.nextInt()) % 100); // Add some jitter
-                                                            // here
+            Thread.sleep(Math.abs(random.nextInt()) % 250); // Add some jitter here
             byte[] row = longToByteArrayKey(Math.abs(random.nextLong())
                 % numRows);
             Get g = new Get(row);


Mime
View raw message