[
https://issues.apache.org/jira/browse/HBASE-4207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116809#comment-13116809
]
stack commented on HBASE-4207:
------------------------------
All the parallel running zks make for interesting logs:
{code}
2011-09-28 20:31:34,151 INFO [pool-1-thread-104]
hbase.HBaseTestingUtility(445): Starting up minicluster with 1 master(s) and 1
regionserver(s) and 1 datanode(s)
2011-09-28 20:31:34,178 INFO [pool-1-thread-99]
zookeeper.MiniZooKeeperCluster(164): Started MiniZK Cluster and connect 1 ZK
server on client port: 21826
2011-09-28 20:31:34,179 INFO [pool-1-thread-69]
zookeeper.MiniZooKeeperCluster(164): Started MiniZK Cluster and connect 1 ZK
server on client port: 21830
2011-09-28 20:31:34,179 INFO [pool-1-thread-61]
zookeeper.MiniZooKeeperCluster(164): Started MiniZK Cluster and connect 1 ZK
server on client port: 21818
2011-09-28 20:31:34,179 INFO [pool-1-thread-78]
zookeeper.MiniZooKeeperCluster(164): Started MiniZK Cluster and connect 1 ZK
server on client port: 21829
2011-09-28 20:31:34,179 INFO [pool-1-thread-44]
zookeeper.MiniZooKeeperCluster(164): Started MiniZK Cluster and connect 1 ZK
server on client port: 21821
2011-09-28 20:31:34,179 INFO [pool-1-thread-76]
zookeeper.MiniZooKeeperCluster(164): Started MiniZK Cluster and connect 1 ZK
server on client port: 21820
2011-09-28 20:31:34,184 INFO [pool-1-thread-71]
zookeeper.MiniZooKeeperCluster(164): Started MiniZK Cluster and connect 1 ZK
server on client port: 21823
2011-09-28 20:31:34,183 INFO [pool-1-thread-23]
zookeeper.MiniZooKeeperCluster(164): Started MiniZK Cluster and connect 1 ZK
server on client port: 21825
2011-09-28 20:31:34,183 INFO [pool-1-thread-74]
zookeeper.MiniZooKeeperCluster(164): Started MiniZK Cluster and connect 1 ZK
server on client port: 21822
2011-09-28 20:31:34,183 INFO [pool-1-thread-114]
zookeeper.MiniZooKeeperCluster(164): Started MiniZK Cluster and connect 1 ZK
server on client port: 21831
{code}
I played around with the various attributes and considering all the factors --
no-forking, plugin buggyness (when I change threads, a different subset of the
tests run -- never more than 1/4), and the upped complexity of debugging failed
tests when they are being run beside others -- I am going to put aside this
avenue of pursuit for now.
> 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