You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Drew Farris (JIRA)" <ji...@apache.org> on 2015/04/29 00:36:06 UTC

[jira] [Assigned] (ACCUMULO-3752) Provide means to inject Halt implementation

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

Drew Farris reassigned ACCUMULO-3752:
-------------------------------------

    Assignee: Drew Farris

> Provide means to inject Halt implementation
> -------------------------------------------
>
>                 Key: ACCUMULO-3752
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3752
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: master, tserver
>            Reporter: Josh Elser
>            Assignee: Drew Farris
>              Labels: newbie, summit2015
>             Fix For: 1.8.0
>
>
> Code in the master and tserver that ends up directly calling {{System.exit}} makes it really crappy to actually test said error conditions.
> We could make a Halt interface and provide a means to inject an implementation of Halt.
> This would allow test cases to inject their own implementation that verifies that certain error conditions were reached. This would also enable the in-process MAC (ACCUMULO-2739)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)