diff --git a/test/src/test/java/hudson/cli/CLIActionTest.java b/test/src/test/java/hudson/cli/CLIActionTest.java index dab7ec8a88ad..ebda2dec5855 100644 --- a/test/src/test/java/hudson/cli/CLIActionTest.java +++ b/test/src/test/java/hudson/cli/CLIActionTest.java @@ -43,6 +43,7 @@ import org.apache.commons.io.input.NullInputStream; import org.apache.commons.io.output.CountingOutputStream; import org.apache.commons.io.output.TeeOutputStream; +import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; @@ -135,7 +136,7 @@ private void assertExitCode(int code, boolean useApiToken, File jar, String... a assertEquals(code, proc.join()); } - @Test public void authenticationFailed() throws Exception { + @Ignore("TODO flaky test") @Test public void authenticationFailed() throws Exception { j.jenkins.setSecurityRealm(j.createDummySecurityRealm()); j.jenkins.setAuthorizationStrategy(new MockAuthorizationStrategy().grant(Jenkins.ADMINISTER).everywhere().toAuthenticated()); var jar = tmp.newFile("jenkins-cli.jar");