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

Todd Lipcon commented on HADOOP-7298:
-------------------------------------

The HBase class lives here:
http://svn.apache.org/repos/asf/hbase/trunk/src/test/java/org/apache/hadoop/hbase/MultithreadedTestUtil.java

For an example usage, see testLABThreading in the following test:
http://svn.apache.org/repos/asf/hbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestMemStoreLAB.java

> Add test utility for writing multi-threaded tests
> -------------------------------------------------
>
>                 Key: HADOOP-7298
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7298
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: test
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>
> A lot of our tests spawn off multiple threads in order to check various 
> synchronization issues, etc. It's often tedious to write these kinds of tests 
> because you have to manually propagate exceptions back to the main thread, 
> etc.
> In HBase we have developed a testing utility which makes writing these kinds 
> of tests much easier. I'd like to copy that utility into Hadoop so we can use 
> it here as well.

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

Reply via email to