[ 
https://issues.apache.org/jira/browse/ACCUMULO-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13948839#comment-13948839
 ] 

Sean Busbey commented on ACCUMULO-2561:
---------------------------------------

What are our options here? subclassing Error and throwing that? in that case 
we'd still run shutdown hooks, no? Do we have a design document somewhere that 
covers why we use the super-fast-stop-the-world version of exiting?

> Make o.a.a.server.util.Halt test-friendly
> -----------------------------------------
>
>                 Key: ACCUMULO-2561
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2561
>             Project: Accumulo
>          Issue Type: Improvement
>            Reporter: Bill Havanki
>            Priority: Minor
>              Labels: testability
>
> The various servers use {{o.a.a.server.util.Halt}} to terminate the JVM if 
> something goes wrong. {{Halt}} class calls {{Runtime.halt()}}, which of 
> course would torpedo any testing going on. The mechanism should be reworked 
> to not kill the JVM in a test scenario.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to