Repository: maven-surefire Updated Branches: refs/heads/master b6d221295 -> 9c78320b7
[SUREFIRE-1281] Fix permanently failing Surefire Windows Build Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/9c78320b Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/9c78320b Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/9c78320b Branch: refs/heads/master Commit: 9c78320b771bb0e607e9f60f2ef6a63937352fde Parents: b6d2212 Author: Tibor17 <tibo...@lycos.com> Authored: Sat Sep 17 14:50:32 2016 +0200 Committer: Tibor17 <tibo...@lycos.com> Committed: Sat Sep 17 14:50:32 2016 +0200 ---------------------------------------------------------------------- .../maven/surefire/its/jiras/Surefire943ReportContentIT.java | 7 ------- .../src/test/java/org/sample/module/My1Test.java | 4 ++-- .../src/test/java/org/sample/module/My2Test.java | 4 ++-- .../src/test/java/org/sample/module/My3Test.java | 4 ++-- 4 files changed, 6 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/9c78320b/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire943ReportContentIT.java ---------------------------------------------------------------------- diff --git a/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire943ReportContentIT.java b/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire943ReportContentIT.java index 249ed9b..59d2170 100644 --- a/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire943ReportContentIT.java +++ b/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire943ReportContentIT.java @@ -55,13 +55,6 @@ public class Surefire943ReportContentIT .sysProp( "threadCount", 4 ) .withFailure().executeTest(); - System.out.println("===== START EXECUTION LOG ====="); - for ( String line : validator.loadLogLines() ) - { - System.out.println( line ); - } - System.out.println("===== END EXECUTION LOG ====="); - validator.assertTestSuiteResults( 10, 1, 3, 3 ); validate( validator, "org.sample.module.My1Test", 1 ); http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/9c78320b/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My1Test.java ---------------------------------------------------------------------- diff --git a/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My1Test.java b/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My1Test.java index 0d996f4..6512a3a 100644 --- a/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My1Test.java +++ b/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My1Test.java @@ -30,7 +30,7 @@ public class My1Test public void fails() throws Exception { - Thread.sleep( 100 ); + Thread.sleep( 1000 ); fail( "Always fails" ); } @@ -38,7 +38,7 @@ public class My1Test public void alwaysSuccessful() throws Exception { - Thread.sleep( 100 ); + Thread.sleep( 1000 ); } @Test http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/9c78320b/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My2Test.java ---------------------------------------------------------------------- diff --git a/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My2Test.java b/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My2Test.java index ac4e338..faea716 100644 --- a/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My2Test.java +++ b/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My2Test.java @@ -29,7 +29,7 @@ public class My2Test { public void fails() throws Exception { - Thread.sleep( 100 ); + Thread.sleep( 1000 ); fail( "Always fails" ); } @@ -37,7 +37,7 @@ public class My2Test { public void alwaysSuccessful() throws Exception { - Thread.sleep( 100 ); + Thread.sleep( 1000 ); } @Test http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/9c78320b/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My3Test.java ---------------------------------------------------------------------- diff --git a/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My3Test.java b/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My3Test.java index 0a432e9..2d35a99 100644 --- a/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My3Test.java +++ b/surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My3Test.java @@ -28,7 +28,7 @@ public class My3Test { public void fails() throws Exception { - Thread.sleep( 100 ); + Thread.sleep( 1000 ); fail( "Always fails" ); } @@ -36,6 +36,6 @@ public class My3Test { public void alwaysSuccessful() throws Exception { - Thread.sleep( 100 ); + Thread.sleep( 1000 ); } }