You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2020/04/21 05:26:00 UTC
[jira] [Resolved] (HBASE-24185) Junit tests do not behave well with
System.exit or Runtime.halt or JVM exits in general.
[ https://issues.apache.org/jira/browse/HBASE-24185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Stack resolved HBASE-24185.
-----------------------------------
Hadoop Flags: Reviewed
Release Note: Tests that fail because a process -- RegionServer or Master -- called System.exit, will now instead throw an exception.
Assignee: Mark Robert Miller
Resolution: Fixed
Pushed on branch-2.3+. Nice one [~markrmiller].
> Junit tests do not behave well with System.exit or Runtime.halt or JVM exits in general.
> ----------------------------------------------------------------------------------------
>
> Key: HBASE-24185
> URL: https://issues.apache.org/jira/browse/HBASE-24185
> Project: HBase
> Issue Type: Test
> Components: test
> Reporter: Mark Robert Miller
> Assignee: Mark Robert Miller
> Priority: Major
>
> This ends up exiting the JVM and confusing / erroring out the test runner that manages that JVM as well as cutting off test output files.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)