Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
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
- is related to
-
ACCUMULO-2739 Create an In-Process MiniAccumuloCluster
- Resolved
-
ACCUMULO-2561 Make o.a.a.server.util.Halt test-friendly
- Open
- relates to
-
ACCUMULO-3750 Bad instance.secret causes master to repeatedly fail fast attempting to acquire lock
- Resolved