From 307f680c69f79fa9c879eecf18c7429cd9b06846 Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Tue, 3 Sep 2024 16:24:20 -0700 Subject: [PATCH] Disable newly-added flaky test (#9687) --- test/src/test/java/hudson/cli/CLIActionTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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");