Increase timeout for wget
In case of using customer's http_proxy for deployment, it takes more then
3 seconds to reach destination host.
Change-Id: I4a0de155c98e4b6bc5fea913abc788ecb562d55b
diff --git a/src/com/mirantis/mk/Salt.groovy b/src/com/mirantis/mk/Salt.groovy
index 5a9d7ce..3d89fb5 100644
--- a/src/com/mirantis/mk/Salt.groovy
+++ b/src/com/mirantis/mk/Salt.groovy
@@ -668,7 +668,7 @@
if(!offlineDeployment){
try {
//TODO: remove wget after global env prop enforcments
- offlineDeployment = sh(script: "wget -q -T 3 --spider http://google.com", returnStatus: true) != 0
+ offlineDeployment = sh(script: "wget -q -T 10 --spider http://google.com", returnStatus: true) != 0
} catch(Exception e) {
def common = new com.mirantis.mk.Common()
common.warningMsg("You might be offline, will use pepper with option --json instead of option --json-file")