Skip to content

Commit

Permalink
Replace the expected message with one that is actually output to get …
Browse files Browse the repository at this point in the history
…it into the next part of the same test. The message wasn't important and I've clearly misconfigured it somehow.
  • Loading branch information
fredcooke committed Jun 1, 2021
1 parent a7abe45 commit f9e5506
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,13 @@ public void dynamicPodTemplateStepSupportsRestart() {
r.jenkins.setNumExecutors(0);
// Do this stuff here and then again in a new story.then() call to simulate restart
WorkflowRun b = getPipelineJobThenScheduleRun(r);
r.waitForMessage("dynamic pod template step success", b);
r.waitForMessage("End of Pipeline", b);
r.assertBuildStatus(Result.SUCCESS, r.waitForCompletion(b));
});
story.then(r -> {
// Do what we do in the first one again, except the configureCloud and before bits
WorkflowRun b = getPipelineJobThenScheduleRun(r);
r.waitForMessage("dynamic pod template step success", b);
r.waitForMessage("End of Pipeline", b);
r.assertBuildStatus(Result.SUCCESS, r.waitForCompletion(b));
});
}
Expand Down

0 comments on commit f9e5506

Please sign in to comment.