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-contrail/salt.yaml b/tcp_tests/templates/virtual-mcp11-k8s-contrail/salt.yaml
index 3513ecc..6b35219 100644
--- a/tcp_tests/templates/virtual-mcp11-k8s-contrail/salt.yaml
+++ b/tcp_tests/templates/virtual-mcp11-k8s-contrail/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;
node_name: {{ HOSTNAME_CFG01 }}
retry: {count: 2, delay: 5}
@@ -260,7 +260,7 @@
skip_fail: false
- description: Configure salt.minion on all nodes
- cmd: salt --hard-crash --state-output=mixed --state-verbose=False
+ cmd: salt --timeout=60 --hard-crash --state-output=mixed --state-verbose=False
-C 'I@linux:system' state.sls salt.minion
node_name: {{ HOSTNAME_CFG01 }}
retry: {count: 3, delay: 5}