[
https://issues.apache.org/jira/browse/SUREFIRE-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967792#comment-15967792
]
Brian Oxley edited comment on SUREFIRE-1359 at 4/13/17 4:16 PM:
----------------------------------------------------------------
I did some further differential testing. The `.mvn/jvm.config` file contains:
```
-Dorg.slf4j.simpleLogger.defaultLogLevel=WARN
-Dorg.slf4j.simpleLogger.log.Sisu=WARN
```
I found that removing the first line,
"-Dorg.slf4j.simpleLogger.defaultLogLevel=WARN" lets tests pass. But at the
expense of my build becoming noisy again.
was (Author: binkley):
I did some further differential testing. The `.mvn/jvm.config` file contains:
```
-Dorg.slf4j.simpleLogger.defaultLogLevel=WARN
-Dorg.slf4j.simpleLogger.log.Sisu=WARN
```
I found that removing either line (or the whole file) let testing complete
successfully. However, at the expense of maven being horribly noisy again.
The reason I used that flag was the "Silence is Golden" rule: I don't want loud
builds on success.
> Corrupted stdin stream in forked JVM 1. See the dump file
> ---------------------------------------------------------
>
> Key: SUREFIRE-1359
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1359
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Surefire Plugin
> Affects Versions: 2.20
> Environment: JDK 1.8.0_121
> maven version 3.5.0
> Reporter: Brian Oxley
> Attachments: 2017-04-13T10-56-35_635-jvmRun1.dumpstream,
> 2017-04-13T10-56-36_592.dumpstream, failsafe-summary.xml,
> hm.binkley.labs.GitInfoIT.txt, hm.binkley.labs.GreetingControllerIT.txt,
> TEST-hm.binkley.labs.GitInfoIT.xml,
> TEST-hm.binkley.labs.GreetingControllerIT.xml
>
>
> Surefire 2.20 complains "Corrupted stdin stream in forked JVM 1. See the dump
> file". Version 2.19.1 does not, and testing completes successfully.
> Project is here: https://github.com/binkley/sproingk.
> Run with "mvn clean verify".
> Same behavior on Windows 10 (Oracle JDK), MacOS and the Linux subsystem on
> Windows.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)