Skip to content

Commit

Permalink
Test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Nov 6, 2024
1 parent aea9bf0 commit 591f289
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private void commonSetup() {
j.assertLogNotContains("assuming it is not coming back", b);
j.assertBuildStatus(Result.ABORTED, j.waitForCompletion(b));
for (int i = 0; i < 5; i++) {
j.assertLogContains("slave" + i + " has been removed for 15 sec, assuming it is not coming back", b);
j.assertLogContains("slave" + i + " has been removed for 15 sec; assuming it is not coming back, and terminating node step", b);
}
assertThat(logging.getRecords().stream().filter(r -> r.getLevel().intValue() >= Level.WARNING.intValue()).toArray(), emptyArray());
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ private static void assertLogMatches(WorkflowRun build, String regexp) throws IO
SemaphoreStep.success("wait/1", null);
r.assertBuildStatus(Result.ABORTED, r.waitForCompletion(b));
assertEquals(Collections.emptyList(), Arrays.asList(Queue.getInstance().getItems()));
r.assertLogContains("dumbo has been removed for 15 sec, assuming it is not coming back", b);
r.assertLogContains("dumbo has been removed for 15 sec; assuming it is not coming back, and terminating node step", b);
});
}

Expand Down

0 comments on commit 591f289

Please sign in to comment.