mirror of https://github.com/apache/maven.git
[MNG-7338] Disable CI mode for certain tests which verify on log statements. (#209)
This commit is contained in:
parent
b8f4ef8332
commit
fca1dd661a
|
@ -47,6 +47,7 @@ public class MavenITmng4461ArtifactUploadMonitorTest extends AbstractMavenIntegr
|
|||
Verifier verifier = newVerifier(testDir.getAbsolutePath());
|
||||
verifier.setAutoclean(false);
|
||||
verifier.deleteDirectory("target");
|
||||
verifier.setEnvironmentVariable("CI", "false");
|
||||
verifier.addCliArgument("validate");
|
||||
verifier.execute();
|
||||
verifier.verifyErrorFreeLog();
|
||||
|
|
|
@ -51,6 +51,7 @@ public class MavenITmng4829ChecksumFailureWarningTest extends AbstractMavenInteg
|
|||
verifier.deleteArtifacts("org.apache.maven.its.mng4829");
|
||||
verifier.addCliArgument("-s");
|
||||
verifier.addCliArgument("settings.xml");
|
||||
verifier.setEnvironmentVariable("CI", "false");
|
||||
verifier.filterFile("settings-template.xml", "settings.xml", "UTF-8");
|
||||
verifier.addCliArgument("validate");
|
||||
verifier.execute();
|
||||
|
|
|
@ -55,11 +55,13 @@ public class MavenITmng6240PluginExtensionAetherProvider extends AbstractMavenIn
|
|||
File projectDir = new File(testDir, "project");
|
||||
|
||||
Verifier verifier = newVerifier(pluginDir.getAbsolutePath(), "remote");
|
||||
verifier.setEnvironmentVariable("CI", "false");
|
||||
verifier.addCliArgument("install");
|
||||
verifier.execute();
|
||||
verifier.verifyErrorFreeLog();
|
||||
|
||||
verifier = newVerifier(projectDir.getAbsolutePath(), "remote");
|
||||
verifier.setEnvironmentVariable("CI", "false");
|
||||
verifier.addCliArgument("deploy");
|
||||
verifier.execute();
|
||||
verifier.verifyErrorFreeLog();
|
||||
|
|
Loading…
Reference in New Issue