Skip to content

Commit

Permalink
use waitForJobs in waitForBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Dec 4, 2022
1 parent 5acc09c commit bc82b51
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -976,6 +976,7 @@ protected void assertProjectIsCreated(String projectName) {
}

protected void waitForBuild() throws CoreException {
waitForJobs();
bot.waitUntil(new DefaultCondition() {

private AssertionError error;
Expand Down Expand Up @@ -1041,6 +1042,7 @@ public void run() {
}

protected void waitForBuildAllowWarnings() throws CoreException {
waitForJobs();
bot.waitUntil(new DefaultCondition() {

private AssertionError error;
Expand Down

0 comments on commit bc82b51

Please sign in to comment.