Add timeouts to newton models
Change-Id: I18990b3c73eb7b25a3c4260d169b7c5c7772bdb6
Reviewed-on: https://review.gerrithub.io/371452
Reviewed-by: Dennis Dmitriev <dis.xcom@gmail.com>
Tested-by: Dennis Dmitriev <dis.xcom@gmail.com>
diff --git a/tcp_tests/templates/virtual-mcp11-k8s-calico/salt.yaml b/tcp_tests/templates/virtual-mcp11-k8s-calico/salt.yaml
index 041c2a4..dcc5967 100644
--- a/tcp_tests/templates/virtual-mcp11-k8s-calico/salt.yaml
+++ b/tcp_tests/templates/virtual-mcp11-k8s-calico/salt.yaml
@@ -196,7 +196,7 @@
skip_fail: false
- description: Run 'salt.master' formula on cfg01
- cmd: timeout 120 salt --hard-crash --state-output=mixed --state-verbose=False
+ cmd: timeout 120 salt --timeout=120 --hard-crash --state-output=mixed --state-verbose=False
-C 'I@salt:master' state.sls salt.master.service;
node_name: {{ HOSTNAME_CFG01 }}
retry: {count: 2, delay: 5}
@@ -279,7 +279,7 @@
skip_fail: false
- description: Configure salt.minion on other nodes
- cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C '* and not
+ cmd: salt --timeout=60 --hard-crash --state-output=mixed --state-verbose=False -C '* and not
cfg01*' state.sls salt.minion
node_name: {{ HOSTNAME_CFG01 }}
retry: {count: 3, delay: 5}