accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3752) Provide means to inject Halt implementation
Date Mon, 27 Apr 2015 17:08:38 GMT
Josh Elser created ACCUMULO-3752:
------------------------------------

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