[ 
https://issues.apache.org/jira/browse/HBASE-19873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-19873:
--------------------------
    Release Note: 
Along with @category -- small, medium, large -- all hbase tests must now carry 
a ClassRule as follows:

+  @ClassRule
+  public static final HBaseClassTestRule CLASS_RULE =
+      HBaseClassTestRule.forClass(TestInterfaceAudienceAnnotations.class);

where the class changes by test.

Currently the classrule enforces timeout for the whole test suite -- i.e. if a 
SmallTest Category then all the tests in the TestSuite must complete inside 
60seconds, the timeout we set on SmallTest Category test suite -- but is meant 
to be a repository for general, runtime, hbase test facility.

  was:
Along with @category -- small, medium, large -- all hbase tests must now carry 
a ClassRule as follows:

+  @ClassRule
+  public static final HBaseClassTestRule CLASS_RULE =
+      HBaseClassTestRule.forClass(TestInterfaceAudienceAnnotations.class);

where the class changes by test.

Currently the classrule enforces timeout by test but is meant to be repository 
for general, runtime, hbase test facility.


> Add a CategoryBasedTimeout ClassRule for all UTs
> ------------------------------------------------
>
>                 Key: HBASE-19873
>                 URL: https://issues.apache.org/jira/browse/HBASE-19873
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 2.0.0-beta-2
>
>         Attachments: HBASE-19873-branch-2-v2.patch
>
>
> So that our test can timeout as expected without making the surefire plugin 
> kill other tests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to