Disable the flaky AgentProtocolTest#testShouldNotDisableProtocolsForMigratedInstances()
@@ -40,6 +40,8 @@ import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
+
+import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.Issue;
@@ -56,6 +58,7 @@ public class AgentProtocolTest {
@Rule
public JenkinsRule j = new JenkinsRule();
+ //TODO: Test is unstable on CI due to the race condition, needs to be reworked
/**
* Checks that Jenkins does not disable agent protocols by default after the upgrade.
*
@@ -63,6 +66,7 @@ public class AgentProtocolTest {
* @see SetupWizardTest#shouldDisableUnencryptedProtocolsByDefault()
*/
@Test
+ @Ignore
@LocalData
@Issue("JENKINS-45841")
public void testShouldNotDisableProtocolsForMigratedInstances() throws Exception {
