commit | dc85547e7ce7d07659e1eb4ba79605c57a4a9696 | [log] [tgz] |
---|---|---|
author | mcp-jenkins <mcp-jenkins@mirantis.com> | Mon Jan 14 14:26:58 2019 +0000 |
committer | Gerrit Code Review <mail@domain.com> | Mon Jan 14 14:26:58 2019 +0000 |
tree | 278ca335c863663dfc59454199489034c2215d54 | |
parent | 14e39d69d09f6b59ae542cd6acfd7b044ea677b0 [diff] | |
parent | 9e4cac55174d84871981232825fb4ec91473be00 [diff] |
Merge "Add sleep after Contrail Control installation" into release/2019.2.0
diff --git a/src/com/mirantis/mk/Common.groovy b/src/com/mirantis/mk/Common.groovy index 4922505..901b842 100644 --- a/src/com/mirantis/mk/Common.groovy +++ b/src/com/mirantis/mk/Common.groovy
@@ -534,11 +534,11 @@ def retry(int times = 5, int delay = 0, Closure body) { int retries = 0 - def exceptions = [] while (retries++ < times) { try { return body.call() } catch (e) { + errorMsg(e.toString()) sleep(delay) } }