Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3752

Provide means to inject Halt implementation

VotersWatch issueWatchers
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: master, tserver
    • Labels:

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                elserj Josh Elser

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Issue deployment