You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/04/27 19:08:38 UTC

[jira] [Updated] (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 ]

Josh Elser updated ACCUMULO-3752:
---------------------------------
    Labels: newbie  (was: )

> 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
>              Labels: newbie
>             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)