You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gregory Chanan (JIRA)" <ji...@apache.org> on 2012/08/04 02:25:02 UTC

[jira] [Commented] (HBASE-6511) TestAcidGuarantees system test broken by reliance on MiniCluster

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

Gregory Chanan commented on HBASE-6511:
---------------------------------------

I think I was wrong about this being introduced in HBASE-6334 / HBASE-6379, removing this links and investigating more.
                
> TestAcidGuarantees system test broken by reliance on MiniCluster
> ----------------------------------------------------------------
>
>                 Key: HBASE-6511
>                 URL: https://issues.apache.org/jira/browse/HBASE-6511
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.90.7, 0.92.2, 0.96.0, 0.94.1
>            Reporter: Gregory Chanan
>            Assignee: Gregory Chanan
>
> When I did HBASE-6334 and HBASE-6379, I only focused on the unit test and didn't think to test the system test as well.
> The problem is that those JIRAs introduced a reliance on the miniCluster:
> {code}
>     // Add a flusher
>     ctx.addThread(new RepeatingTestThread(ctx) {
>       public void doAnAction() throws Exception {
>         util.flush();
>       }
>     });
> {code}
> util.flush requires a miniCluster, so doesn't work with a system test.

--
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