[ 
https://issues.apache.org/jira/browse/HBASE-15915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15307340#comment-15307340
 ] 

Hudson commented on HBASE-15915:
--------------------------------

FAILURE: Integrated in HBase-Trunk_matrix #960 (See 
[https://builds.apache.org/job/HBase-Trunk_matrix/960/])
HBASE-15915 Set timeouts on hanging tests. Tests run: 8, Time elapsed: (stack: 
rev 1a27278624d9752c376929bc97589ca1a97cfba9)
* 
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
* 
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMobSnapshotCloneIndependence.java
* 
hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestMasterFailoverWithProcedures.java
* 
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotCloneIndependence.java
* 
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionMergeTransactionOnCluster.java
* 
hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestMobFlushSnapshotFromClient.java
* 
hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestFlushSnapshotFromClient.java
* 
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegionWithInMemoryFlush.java
* hbase-common/src/test/java/org/apache/hadoop/hbase/CategoryBasedTimeout.java


> Set timeouts on hanging tests
> -----------------------------
>
>                 Key: HBASE-15915
>                 URL: https://issues.apache.org/jira/browse/HBASE-15915
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Appy
>            Assignee: Appy
>             Fix For: 2.0.0
>
>         Attachments: HBASE-15915.master.001.patch, 
> HBASE-15915.master.002.patch
>
>
> - We annotate tests as Small/Medium/Large and define time limits for each, we 
> should use them so tests fail fast and we can run Flaky-Tests job more 
> frequently.
> - It'll be hard to do so for all existing tests (1200+ Test*.java files), but 
> I'd like to do it for at least those known to hang up. (Found by using 
> report-flakies.py on TRUNK)
> - In some places, we have @Rule Timeout but it actually sets timeout for 
> atomic tests.
> Basically we can't go the way where we define time limits on class level 
> (Small/Medium/Large tests) and try to enforce timeouts on atomic tests level. 
> It would be painful (probably why no one has done it yet).
> So i'll be changing these timeouts to
> {noformat}
> @ClassRule
>   public static final TestRule timeout = 
> CategoryBasedTimeout.forClass(<test_class>);
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to