Skip to content

Commit

Permalink
[JENKINS-26399] JenkinsRuleExt.waitForCompletion/Message
Browse files Browse the repository at this point in the history
Originally-Committed-As: fac5ce62db53f18cabb2347f0bb6ae9e3f3ea1f9
  • Loading branch information
jglick committed Mar 18, 2015
1 parent fcb9bc5 commit 1b0385c
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -26,6 +26,7 @@

import com.google.common.base.Function;
import java.io.IOException;
import org.jenkinsci.plugins.workflow.JenkinsRuleExt;
import org.jenkinsci.plugins.workflow.SingleJobTestBase;
import org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition;
import org.jenkinsci.plugins.workflow.job.WorkflowJob;
Expand Down Expand Up @@ -60,8 +61,7 @@ public class InputStepRestartTest extends SingleJobTestBase {
return null;
}
}).get();
waitForWorkflowToComplete();
assertBuildCompletedSuccessfully();
story.j.assertBuildStatusSuccess(JenkinsRuleExt.waitForCompletion(b));
}
});
}
Expand Down

0 comments on commit 1b0385c

Please sign in to comment.