diff --git a/src/test/java/org/jenkinsci/plugins/workflow/support/steps/ExecutorStepDynamicContextTest.java b/src/test/java/org/jenkinsci/plugins/workflow/support/steps/ExecutorStepDynamicContextTest.java index 0b05323b..5ecf1d51 100644 --- a/src/test/java/org/jenkinsci/plugins/workflow/support/steps/ExecutorStepDynamicContextTest.java +++ b/src/test/java/org/jenkinsci/plugins/workflow/support/steps/ExecutorStepDynamicContextTest.java @@ -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()); }); diff --git a/src/test/java/org/jenkinsci/plugins/workflow/support/steps/ExecutorStepTest.java b/src/test/java/org/jenkinsci/plugins/workflow/support/steps/ExecutorStepTest.java index 56b210ad..6db7b30e 100644 --- a/src/test/java/org/jenkinsci/plugins/workflow/support/steps/ExecutorStepTest.java +++ b/src/test/java/org/jenkinsci/plugins/workflow/support/steps/ExecutorStepTest.java @@ -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); }); }