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 2018/08/26 19:39:39 UTC

[maven-surefire] branch INV1561 updated: synchronization in non-forking mode

This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch INV1561
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/INV1561 by this push:
     new 51c2029  synchronization in non-forking mode
51c2029 is described below

commit 51c2029a35dc0e18f47be52b1d05c38f14c5a2c2
Author: Tibor17 <ti...@apache.org>
AuthorDate: Sun Aug 26 21:39:31 2018 +0200

    synchronization in non-forking mode
---
 .../org/apache/maven/plugin/surefire/report/TestSetRunListener.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/TestSetRunListener.java b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/TestSetRunListener.java
index 329ba79..1ed32f9 100644
--- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/TestSetRunListener.java
+++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/TestSetRunListener.java
@@ -148,7 +148,7 @@ public class TestSetRunListener
     }
 
     @Override
-    public void writeTestOutput( byte[] buf, int off, int len, boolean stdout )
+    public synchronized void writeTestOutput( byte[] buf, int off, int len, boolean stdout )
     {
         try
         {