You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2011/08/03 04:28:27 UTC

[jira] [Commented] (HBASE-4158) Upgrade pom.xml to surefire 2.9

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

Ted Yu commented on HBASE-4158:
-------------------------------

I used the patch to run through unit tests. I noticed TestRegionRebalancing was hanging:
{code}
"main" prio=10 tid=0x0000000047981000 nid=0x3e1c waiting on condition [0x0000000040da6000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.apache.hadoop.hbase.TestRegionRebalancing.waitForAllRegionsAssigned(TestRegionRebalancing.java:237)
        at org.apache.hadoop.hbase.TestRegionRebalancing.assertRegionsAreBalanced(TestRegionRebalancing.java:178)
        at org.apache.hadoop.hbase.TestRegionRebalancing.testRebalancing(TestRegionRebalancing.java:144)
{code}
However, the next test continued to launch:
{code}
Running org.apache.hadoop.hbase.mapred.TestTableMapReduce
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.933 sec
Running org.apache.hadoop.hbase.TestRegionRebalancing
Running org.apache.hadoop.hbase.TestCompare
{code}
It would be difficult to get number of actual failed tests this way.

> Upgrade pom.xml to surefire 2.9
> -------------------------------
>
>                 Key: HBASE-4158
>                 URL: https://issues.apache.org/jira/browse/HBASE-4158
>             Project: HBase
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.90.2, 0.90.4
>            Reporter: Mikhail Bautin
>            Assignee: Mikhail Bautin
>            Priority: Minor
>         Attachments: 0001-Use-Surefire-2.9.patch
>
>
> This idea was suggested by Aaron Kushner: upgrade the Surefire plugin used by pom.xml from 2.5 to 2.9. This will hopefully help with the following:
> - The whole test suite run should not stop after a single test times out.
> - Correctly stopping surefire worker processes instead of leaving them around after the test suite run has completed.
> - Better reporting of tests and test cases with failures and errors.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira