Skip to content

Commit

Permalink
Remove another flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Dec 15, 2023
1 parent 457323d commit 1daf3ca
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 @@ -42,26 +42,6 @@ public void simple_two_matrix_with_no_configuration() throws Exception {
TestRunListener.assertStartedItems();
}

@Test
@LocalData
public void matrix_and_jobs_with_no_configuration() 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("Job 0", 5),
new ExpectedItem("1A1=1A.", 5),
new ExpectedItem("1A1=1A.", 5));
jobHelper
.scheduleProjects(new CLICause())
.scheduleMatrixProjects(new UserIdCause(), new CLICause())
.go();
j.waitUntilNoActivity();
TestRunListener.assertStartedItems();
}

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

0 comments on commit 1daf3ca

Please sign in to comment.