Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove flaky test #320

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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