fix timeout for aws creation
Change-Id: I684c4fed1ef5cfbe6bf6a9702110980596e4a0d7
diff --git a/src/com/mirantis/mk/Aws.groovy b/src/com/mirantis/mk/Aws.groovy
index d19a493..c62ff1e 100644
--- a/src/com/mirantis/mk/Aws.groovy
+++ b/src/com/mirantis/mk/Aws.groovy
@@ -64,12 +64,12 @@
}
}
-def waitForStatus(venv_path, env_vars, stack_name, state, timeout = 600, loop_sleep = 30) {
+def waitForStatus(venv_path, env_vars, stack_name, state, max_timeout = 600, loop_sleep = 30) {
def aws = new com.mirantis.mk.Aws()
def common = new com.mirantis.mk.Common()
def python = new com.mirantis.mk.Python()
- timeout(time: timeout, unit: 'SECONDS') {
+ timeout(time: max_timeout, unit: 'SECONDS') {
withEnv(env_vars) {
while (true) {
// get stack state