You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2019/12/21 23:53:45 UTC
[maven-surefire] 05/06: experimenting with failed tests
This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a commit to branch cli
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
commit 3e49161ab4e0e5c96e99ca7583ed51f180377a7e
Author: tibordigana <ti...@apache.org>
AuthorDate: Tue Dec 3 00:55:28 2019 +0100
experimenting with failed tests
---
.../org/apache/maven/plugin/surefire/booterclient/ForkStarter.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java
index 4b5e4fd..138de58 100644
--- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java
+++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java
@@ -627,15 +627,15 @@ public class ForkStarter
CommandlineExecutor exec = new CommandlineExecutor( cli, closer, endOfStreamsCountdown );
CommandlineStreams streams = exec.execute();
in = new StreamFeeder( "std-in-fork-" + forkNumber, streams.getStdInChannel(), testProvidingInputStream );
- closer.addCloseable( in );
+ // closer.addCloseable( in );
in.start();
out = new LineConsumerThread( "std-out-fork-" + forkNumber, streams.getStdOutChannel(),
threadedStreamConsumer, endOfStreamsCountdown );
- closer.addCloseable( out );
+ // closer.addCloseable( out );
out.start();
err = new LineConsumerThread( "std-err-fork-" + forkNumber, streams.getStdErrChannel(),
stdErrConsumer, endOfStreamsCountdown );
- closer.addCloseable( err );
+ // closer.addCloseable( err );
err.start();
result = exec.awaitExit();
// END: end of the call of the extension