Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0077817F13 for ; Wed, 20 May 2015 15:25:32 +0000 (UTC) Received: (qmail 5567 invoked by uid 500); 20 May 2015 15:25:16 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 5272 invoked by uid 500); 20 May 2015 15:25:16 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 4853 invoked by uid 99); 20 May 2015 15:25:16 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2015 15:25:16 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2259EDFC3C; Wed, 20 May 2015 15:25:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jmhsieh@apache.org To: commits@hbase.apache.org Date: Wed, 20 May 2015 15:25:55 -0000 Message-Id: <780e695c7ad846e68dd4ee9391069670@git.apache.org> In-Reply-To: <0fe4822c7b4844099ae46ed01fe78d01@git.apache.org> References: <0fe4822c7b4844099ae46ed01fe78d01@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [42/50] [abbrv] hbase git commit: HBASE-13609 TestFastFail is still failing 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/92e66ef5 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/92e66ef5 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/92e66ef5 Branch: refs/heads/hbase-11339 Commit: 92e66ef5222391d106bc8adb7afe7d96a7dafac2 Parents: a1c94c0 Author: Nick Dimiduk Authored: Tue May 5 13:42:47 2015 -0700 Committer: Nick Dimiduk Committed: Mon May 18 12:46:52 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/92e66ef5/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 90b77a8..4337d1a 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 @@ -61,7 +61,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 @@ -137,7 +137,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); @@ -160,8 +160,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);