Skip to content

Commit

Permalink
Remove flaky test (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite authored Dec 15, 2023
1 parent 2b3506d commit c87f732
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/test/java/jenkins/advancedqueue/test/MatrixTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,26 +62,6 @@ public void matrix_and_jobs_with_no_configuration() throws Exception {
TestRunListener.assertStartedItems();
}

@Test
@LocalData
public void matrix_and_jobs_with_no_configuration_reverse() throws Exception {
assumeTrue("Test unreliable on Windows", !isWindows());
TestRunListener.init(
new ExpectedItem("Matrix 0", 1),
new ExpectedItem("Matrix 1", 5),
new ExpectedItem("0A1=0A.", 1),
new ExpectedItem("0A1=0A.", 1),
new ExpectedItem("1A1=1A.", 5),
new ExpectedItem("1A1=1A.", 5),
new ExpectedItem("Job 0", 5));
jobHelper
.scheduleMatrixProjects(new UserIdCause(), new CLICause())
.scheduleProjects(new CLICause())
.go();
j.waitUntilNoActivity();
TestRunListener.assertStartedItems();
}

private boolean isWindows() {
return java.io.File.pathSeparatorChar == ';';
}
Expand Down

0 comments on commit c87f732

Please sign in to comment.