GitHub user Tibor17 opened a pull request:

    https://github.com/apache/maven-surefire/pull/136

    [SUREFIRE-1295] Attribute JVM crashes to tests

    I have 4 tests ATest.java .. DTest.java, and CTest fails like this:
    
    ```
    @Test
        public void x() {
            Runtime.getRuntime().halt( 0 );
        }
    ```
    Here is the result, see "Crashed tests".
    ```
    [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.19.2-SNAPSHOT:test 
(default-test) on project b: Execution default-test of goal 
org.apache.maven.plugins:maven-surefire-plugin:2.19.2-SNAPSHOT:test failed: The 
forked VM terminated without properly saying goodbye. VM crash or System.exit 
called?
    [ERROR] Command was cmd.exe /X /C ""D:\Program 
Files\Java\jdk1.8.0_112\jre\bin\java" -jar 
D:\vcs\zmaz6\target\surefire\surefirebooter8109843199172464014.jar 
D:\vcs\zmaz6\target\surefire\surefire4550764212193522341tmp 
D:\vcs\zmaz6\target\surefire\surefire_07316673656092271862tmp"
    [ERROR] Process Exit Code: 0
    [ERROR] Crashed tests:
    [ERROR] pkg.CTest
    [ERROR] -> [Help 1]
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Tibor17/maven-surefire SUREFIRE-1295

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-surefire/pull/136.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #136
    
----
commit 364b0c9e8ae56916f0b9aead2a26f07ed57befca
Author: Tibor17 <[email protected]>
Date:   2016-11-28T22:16:20Z

    [SUREFIRE-1295] Attribute JVM crashes to tests

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to