Updated Branches: refs/heads/master 9d4f083d0 -> ae1899c34
make test more robust by removing some assertions that depend on current system load Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/ae1899c3 Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/ae1899c3 Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/ae1899c3 Branch: refs/heads/master Commit: ae1899c34d92c9568aae9aa8e32365a2130cf84e Parents: 9d4f083 Author: Andreas Gudian <andreas.gud...@gmail.com> Authored: Thu Jan 24 21:24:10 2013 +0100 Committer: Kristian Rosenvold <krosenv...@apache.org> Committed: Thu Feb 14 13:47:18 2013 +0100 ---------------------------------------------------------------------- .../org/apache/maven/surefire/its/ForkModeIT.java | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/ae1899c3/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkModeIT.java ---------------------------------------------------------------------- diff --git a/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkModeIT.java b/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkModeIT.java index 35c53d7..5506caa 100644 --- a/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkModeIT.java +++ b/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/ForkModeIT.java @@ -80,8 +80,6 @@ public class ForkModeIT { String[] pids = doTest( unpack( getProject() ).debugLogging().forkOncePerThread().threadCount( 2 ).addGoal( "-DsleepLength=1200" ) ); assertDifferentPids( pids, 2 ); - assertEndWith( pids, "_1_1", 1); - assertEndWith( pids, "_2_2", 2); assertFalse( "pid 1 is not the same as the main process' pid", pids[0].equals( getMyPID() ) ); } @@ -113,8 +111,6 @@ public class ForkModeIT { String[] pids = doTest( unpack( getProject() ).debugLogging().forkCount( 2 ).reuseForks( false ).addGoal( "-DsleepLength=1200" ) ); assertDifferentPids( pids ); - assertEndWith( pids, "_1_1", 1); - assertEndWith( pids, "_2_2", 2); assertFalse( "pid 1 is not the same as the main process' pid", pids[0].equals( getMyPID() ) ); } @@ -122,8 +118,6 @@ public class ForkModeIT { String[] pids = doTest( unpack( getProject() ).debugLogging().forkCount( 2 ).reuseForks( true ).addGoal( "-DsleepLength=1200" ) ); assertDifferentPids( pids, 2 ); - assertEndWith( pids, "_1_1", 1); - assertEndWith( pids, "_2_2", 2); assertFalse( "pid 1 is not the same as the main process' pid", pids[0].equals( getMyPID() ) ); }