From: Jonathan Rajotte Date: Fri, 10 Jul 2015 18:35:55 +0000 (-0400) Subject: Missing ) and use Thread.sleep X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=974f7068483f05e6eb8df144e92f2d9233dcb306;p=lttng-ci.git Missing ) and use Thread.sleep --- diff --git a/dsl/kernel-lttng-modules.seed.groovy b/dsl/kernel-lttng-modules.seed.groovy index d5140a7..56fe746 100644 --- a/dsl/kernel-lttng-modules.seed.groovy +++ b/dsl/kernel-lttng-modules.seed.groovy @@ -295,7 +295,7 @@ while (toBuild.size() != 0) { ongoingBuild.push(job.scheduleBuild2(0)) println "\\t trigering" + HyperlinkNote.encodeTo('/' + job.url, job.fullDisplayName) } else { - wait(random.nextInt(120000) + Thread.sleep(random.nextInt(120000)) ongoingBuild.removeAll{ it.isCancelled() || it.isDone() } } } @@ -343,7 +343,7 @@ while (toBuild.size() != 0) { ongoingBuild.push(job.scheduleBuild2(0)) println "\\t trigering " + HyperlinkNote.encodeTo('/' + job.url, job.fullDisplayName) } else { - wait(random.nextInt(60000) + Thread.sleep(random.nextInt(60000)) ongoingBuild.removeAll{ it.isCancelled() || it.isDone() } } }