File tree 1 file changed +3
-0
lines changed
src/test/java/org/jenkinsci/plugins/workflow/support/steps/build
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ public class WaitForBuildStepTest {
173
173
SemaphoreStep .success ("scheduled/1" , true );
174
174
175
175
WorkflowRun dsRun = ds .getBuildByNumber (1 );
176
+ SemaphoreStep .waitForStart ("wait/1" , dsRun );
176
177
waitForWaitForBuildAction (dsRun );
177
178
178
179
// Abort the downstream build
@@ -201,6 +202,7 @@ public class WaitForBuildStepTest {
201
202
SemaphoreStep .success ("scheduled/1" , true );
202
203
203
204
WorkflowRun dsRun = ds .getBuildByNumber (1 );
205
+ SemaphoreStep .waitForStart ("wait/1" , dsRun );
204
206
waitForWaitForBuildAction (dsRun );
205
207
206
208
// Abort the upstream build
@@ -229,6 +231,7 @@ public class WaitForBuildStepTest {
229
231
SemaphoreStep .success ("scheduled/1" , true );
230
232
231
233
WorkflowRun dsRun = ds .getBuildByNumber (1 );
234
+ SemaphoreStep .waitForStart ("wait/1" , dsRun );
232
235
waitForWaitForBuildAction (dsRun );
233
236
234
237
// Abort the upstream build
You can’t perform that action at this time.
0 commit comments