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

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

commit bac548a5c27e1410cb5c367bc0cea005e2df5d91
Author: Tibor Digana <[email protected]>
AuthorDate: Sat Jul 3 12:02:34 2021 +0200

    [integration tests] wrong previous refactoring - currently the warning 
message is different
---
 .../apache/maven/surefire/its/JUnitPlatformStreamCorruptionIT.java | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/surefire-its/src/test/java/org/apache/maven/surefire/its/JUnitPlatformStreamCorruptionIT.java
 
b/surefire-its/src/test/java/org/apache/maven/surefire/its/JUnitPlatformStreamCorruptionIT.java
index 160170e..3f4f16a 100644
--- 
a/surefire-its/src/test/java/org/apache/maven/surefire/its/JUnitPlatformStreamCorruptionIT.java
+++ 
b/surefire-its/src/test/java/org/apache/maven/surefire/its/JUnitPlatformStreamCorruptionIT.java
@@ -23,6 +23,7 @@ import org.apache.maven.it.VerificationException;
 import org.apache.maven.surefire.its.fixture.OutputValidator;
 import org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Test;
 
 import java.util.List;
@@ -67,13 +68,15 @@ public class JUnitPlatformStreamCorruptionIT
                 .verifyErrorFree( 1 );
 
         List<String> lines = validator.loadLogLines(
-                startsWith( "[WARNING] Corrupted STDOUT by directly writing to 
native stream in forked JVM" ) );
+                startsWith( "[WARNING] Corrupted channel by directly writing 
to native stream in forked JVM" ) );
 
         assertThat( lines )
                 .isEmpty();
     }
 
     @Test
+    @Ignore( 
"https://issues.apache.org/jira/browse/SUREFIRE-1659?focusedCommentId=17374005&page=";
+                 + 
"com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17374005"
 )
     public void warningIsNotEmittedWithJulToLog4j() throws 
VerificationException
     {
         OutputValidator validator = unpack( "/surefire-1659-stream-corruption" 
)
@@ -82,7 +85,7 @@ public class JUnitPlatformStreamCorruptionIT
                 .verifyErrorFree( 1 );
 
         List<String> lines = validator.loadLogLines(
-                startsWith( "[WARNING] Corrupted STDOUT by directly writing to 
native stream in forked JVM" ) );
+                startsWith( "[WARNING] Corrupted channel by directly writing 
to native stream in forked JVM" ) );
 
         assertThat( lines )
                 .isEmpty();

Reply via email to