Skip to content

Commit

Permalink
CheckTestNgSuiteXmlIT should not be ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibor17 committed Oct 5, 2018
1 parent 57fbb16 commit 25fadfc
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

import org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase;
import org.apache.maven.surefire.its.fixture.SurefireLauncher;
import org.junit.Ignore;
import org.junit.Test;

/**
Expand All @@ -35,20 +34,25 @@ public class CheckTestNgSuiteXmlIT
@Test
public void suiteXml()
{
unpack().executeTest().verifyErrorFree( 2 );
unpack().executeTest()
.verifyErrorFree( 2 );
}

@Test
@Ignore( "Fails - see SUREFIRE-1123" )
public void suiteXmlForkModeAlways()
{
unpack().forkAlways().executeTest().verifyErrorFree( 2 );
unpack().forkAlways()
.executeTest()
.verifyTextInLog( "Tests run: 2, Failures: 0, Errors: 0, Skipped: 0" );
}

@Test
public void suiteXmlForkCountTwoReuse()
{
unpack().forkCount( 2 ).reuseForks( true ).executeTest().verifyErrorFree( 2 );
unpack().forkCount( 2 )
.reuseForks( true )
.executeTest()
.verifyErrorFree( 2 );
}

private SurefireLauncher unpack()
Expand Down

0 comments on commit 25fadfc

Please sign in to comment.