[MNG-5753] support IT re-run without cleaning

This commit is contained in:
Hervé Boutemy 2018-02-08 22:35:05 +01:00
parent 1e09c00cd8
commit b2805f87f1
1 changed files with 3 additions and 1 deletions

View File

@ -48,13 +48,15 @@ public class MavenITmng5753CustomMojoExecutionConfiguratorTest
verifier.resetStreams();
verifier.verifyErrorFreeLog();
File configurationFile = new File(projectDir, "configuration.txt");
configurationFile.delete();
// build the test project
verifier = newVerifier( projectDir.getAbsolutePath(), "remote" );
verifier.executeGoal( "validate" );
verifier.resetStreams();
verifier.verifyErrorFreeLog();
File configurationFile = new File(projectDir, "configuration.txt");
verifier.assertFilePresent( configurationFile.getCanonicalPath() );
//
// The <name/> element in the original configuration is "ORIGINAL". We want to assert that our