You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2012/10/07 08:25:02 UTC

[jira] [Updated] (BOOKKEEPER-423) Unify hub tests around HedwigRegionTestBase

     [ https://issues.apache.org/jira/browse/BOOKKEEPER-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stu Hood updated BOOKKEEPER-423:
--------------------------------

    Attachment: bk-423.diff

Attaching a batch that removes HedwigHubTestBase in favor of HedwigRegionTestBase.

Also (although no tests use it,) allows for starting and stopping individual hubs in regions. I'll follow up with additional tests to churn individual hubs in a multi-region environment.
                
> Unify hub tests around HedwigRegionTestBase
> -------------------------------------------
>
>                 Key: BOOKKEEPER-423
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-423
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: hedwig-server
>            Reporter: Stu Hood
>            Assignee: Stu Hood
>         Attachments: bk-423.diff
>
>
> HedwigRegionTestBase and HedwigHubTestBase duplicate one-another to a large degree (since the latter is the N=1 case of the former.)
> Unifying these base classes would be DRYer, and would mean there would be a clear base to build test simplifications on top of.
> Additionally, it would be good to be test with multiple regions in more places, and to start and stop hubs and regions within the same test.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira