Skip to content

Commit f51d22b

Browse files
authored
Attempt to fix flaky test (#285)
1 parent dc0c358 commit f51d22b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/jenkinsci/plugins/workflow/test/steps/SemaphoreStepTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ public void hardKill() throws Exception {
2626

2727
b.doKill();
2828
j.waitForMessage("Hard kill!", b);
29-
j.assertBuildStatus(Result.ABORTED, future);
29+
j.assertBuildStatus(Result.ABORTED, j.waitForCompletion(b));
3030
}
3131
}

0 commit comments

Comments
 (0)