[TEST] Increase node startup timeouts
Tests are periodically failing on CI as the wait conditions are not met. This commit increases the timeouts.
This commit is contained in:
parent
d4947c26ae
commit
7e581187a7
|
@ -88,7 +88,7 @@ class ClusterConfiguration {
|
||||||
if (seedNode == node) {
|
if (seedNode == node) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
ant.waitfor(maxwait: '20', maxwaitunit: 'second', checkevery: '500', checkeveryunit: 'millisecond') {
|
ant.waitfor(maxwait: '40', maxwaitunit: 'second', checkevery: '500', checkeveryunit: 'millisecond') {
|
||||||
resourceexists {
|
resourceexists {
|
||||||
file(file: seedNode.transportPortsFile.toString())
|
file(file: seedNode.transportPortsFile.toString())
|
||||||
}
|
}
|
||||||
|
|
|
@ -541,7 +541,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: '30', maxwaitunit: 'second', checkevery: '500', checkeveryunit: 'millisecond', timeoutproperty: "failed${name}") {
|
ant.waitfor(maxwait: '60', maxwaitunit: 'second', checkevery: '500', checkeveryunit: 'millisecond', timeoutproperty: "failed${name}") {
|
||||||
or {
|
or {
|
||||||
for (NodeInfo node : nodes) {
|
for (NodeInfo node : nodes) {
|
||||||
resourceexists {
|
resourceexists {
|
||||||
|
|
Loading…
Reference in New Issue