[
https://issues.apache.org/jira/browse/HBASE-19911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16348853#comment-16348853
]
stack commented on HBASE-19911:
-------------------------------
Thank you [~chia7712] I'm going to do the [~Apache9] suggestion of upping test
timeout for small from 30 seconds to 60 seconds.
HBASE-19911.addendum2.up_small_timeout_from_30_to_60_seconds.patch is the
second addendum. Does this:
more HBASE-19911.addendum2.up_small_timeout_from_30_to_60_seconds.patch
>From ced502801faa24c4e8791a396cbc99ad6290779c Mon Sep 17 00:00:00 2001
From: Michael Stack <[email protected]>
Date: Thu, 1 Feb 2018 08:24:54 -0800
Subject: [PATCH] HBASE-19911 Convert some tests from small to medium because
they are timing out: TestNettyRpcServer, TestClientClusterStatus; ADDENDUM2
Up timeout for smalltests from 30 seconds to 60 seconds -- a pause on jenkins
can mess up smalltests
---
.../src/test/java/org/apache/hadoop/hbase/HBaseClassTestRule.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/hbase-common/src/test/java/org/apache/hadoop/hbase/HBaseClassTestRule.java
b/hbase-common/src/test/java/org/apache/hadoop/hbase/HBaseClassTestRule.java
index 74bd70e999..734ce3f241 100644
--- a/hbase-common/src/test/java/org/apache/hadoop/hbase/HBaseClassTestRule.java
+++ b/hbase-common/src/test/java/org/apache/hadoop/hbase/HBaseClassTestRule.java
@@ -63,7 +63,9 @@ public final class HBaseClassTestRule implements TestRule {
for (Class<?> c : categories[0].value()) {
if (c == SmallTests.class) {
// See SmallTests. Supposed to run 15 seconds.
- return 30;
+ // Lots of these timeout on Jenkins... a stall of ten or twenty
seconds mess up what looks
+ // fine when run local.
+ return 60;
} else if (c == MediumTests.class) {
// See MediumTests. Supposed to run 50 seconds.
return 180;
--
FYI, this is SECOND amendment. The first changed TestCheckTestClasses so it is
medium sized too.
> Convert some tests from small to medium because they are timing out:
> TestNettyRpcServer, TestClientClusterStatus, TestCheckTestClasses
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-19911
> URL: https://issues.apache.org/jira/browse/HBASE-19911
> Project: HBase
> Issue Type: Sub-task
> Reporter: stack
> Assignee: stack
> Priority: Major
> Fix For: 2.0.0-beta-2
>
> Attachments:
> HBASE-19911.addendum2.up_small_timeout_from_30_to_60_seconds.patch,
> HBASE-19911.branch-2.001.patch
>
>
> Found some more timeouts of small tests.
> TestNettyRpcServer
> https://builds.apache.org/view/H-L/view/HBase/job/PreCommit-HBASE-Build/11307/testReport/junit/org.apache.hadoop.hbase.ipc/TestNettyRpcServer/org_apache_hadoop_hbase_ipc_TestNettyRpcServer/
> On local machine takes 14 seconds to run 1 test. In the above failure..., the
> test needs another second or so to complete.... It has been running 30
> seconds.
> Starts a minihbasecluster, creates a table, then shuts down. Shouldn't even
> take 3 seconds but thats another story.
> TestClientClusterStatus is a small test that starts 5 regionservers and 3
> masters. Then does some stopping of servers, etc.
> .. in same test run...
> https://builds.apache.org/view/H-L/view/HBase/job/PreCommit-HBASE-Build/11307/testReport/junit/org.apache.hadoop.hbase/TestClientClusterStatus/org_apache_hadoop_hbase_TestClientClusterStatus/
> ... it timed out after 30 seconds. Its almost done w/ shutdown but not quite.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)