Change waitfor max time back to 30 seconds, in case jenkins is slow

This commit is contained in:
Ryan Ernst 2015-11-24 08:23:16 -08:00
parent 31b7e91e5a
commit 647f324c46
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ class ClusterFormationTasks {
static Task configureWaitTask(String name, Project project, List<NodeInfo> nodes, List<Task> startTasks) { static Task configureWaitTask(String name, Project project, List<NodeInfo> nodes, List<Task> startTasks) {
Task wait = project.tasks.create(name: name, dependsOn: startTasks) Task wait = project.tasks.create(name: name, dependsOn: startTasks)
wait.doLast { wait.doLast {
ant.waitfor(maxwait: '15', maxwaitunit: 'second', checkevery: '500', checkeveryunit: 'millisecond', timeoutproperty: "failed${name}") { ant.waitfor(maxwait: '30', maxwaitunit: 'second', checkevery: '500', checkeveryunit: 'millisecond', timeoutproperty: "failed${name}") {
or { or {
for (NodeInfo node : nodes) { for (NodeInfo node : nodes) {
resourceexists { resourceexists {