accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drew Farris (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-3752) Provide means to inject Halt implementation
Date Tue, 28 Apr 2015 22:35:06 GMT

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

Drew Farris updated ACCUMULO-3752:
----------------------------------
    Labels: newbie summit2015  (was: newbie)

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

Mime
View raw message