hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4207) Run test suite in parallel, multiple concurrent test instances.
Date Wed, 28 Sep 2011 20:28:45 GMT

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

stack commented on HBASE-4207:
------------------------------

I learned that this parallel mechanism only works if you do NOT for to run tests: http://stackoverflow.com/questions/3600090/maven-surefire-unable-to-fork-parallel-test-execution/7426894#7426894
 My sense is we have to fork to protect against tests that run wild (or if we move the crazies
into integrated test category, maybe we could run non-forked).

Trying to build w/o forking, most tests pass. A few fail such as TestTableMapReduce and TestCompaction.
 Would have to look at these.

When I try w/ parallel on, we are running 1/10th of the tests (but they run fast).
                
> Run test suite in parallel, multiple concurrent test instances.
> ---------------------------------------------------------------
>
>                 Key: HBASE-4207
>                 URL: https://issues.apache.org/jira/browse/HBASE-4207
>             Project: HBase
>          Issue Type: Task
>          Components: test
>            Reporter: stack
>         Attachments: parallel.build.txt
>
>
> From a suggestion by Lohit up on the list, surefire allows running unit tests in parallel.
  I'm trying it.  I'll attach the patch to do classes in parallel (as opposed to methods)
with four threads per core max.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message