Add sleep after salt.minion first run because of postponed restart
Change-Id: I833f259e535d7a23522a58f85e71e6881335cda2
Reviewed-on: https://review.gerrithub.io/373229
Reviewed-by: Dennis Dmitriev <dis.xcom@gmail.com>
Tested-by: Dennis Dmitriev <dis.xcom@gmail.com>
diff --git a/tcp_tests/templates/physical_mcp11_ovs_dpdk/salt.yaml b/tcp_tests/templates/physical_mcp11_ovs_dpdk/salt.yaml
index 287487d..82fdc7a 100644
--- a/tcp_tests/templates/physical_mcp11_ovs_dpdk/salt.yaml
+++ b/tcp_tests/templates/physical_mcp11_ovs_dpdk/salt.yaml
@@ -228,7 +228,8 @@
cmd: salt --hard-crash --state-output=mixed --state-verbose=False
-C 'I@salt:master' state.sls salt;
salt --hard-crash --state-output=mixed --state-verbose=False
- -C 'I@salt:master' saltutil.sync_all
+ -C 'I@salt:master' saltutil.sync_all;
+ sleep 10
node_name: {{ HOSTNAME_CFG01 }}
retry: {count: 5, delay: 5}
skip_fail: false
@@ -369,7 +370,8 @@
- description: Configure salt.minion on other nodes
cmd: salt --timeout=120 --hard-crash --state-output=mixed --state-verbose=False -C '* and not
- cfg01*' state.sls salt.minion
+ cfg01*' state.sls salt.minion;
+ sleep 10
node_name: {{ HOSTNAME_CFG01 }}
retry: {count: 3, delay: 5}
skip_fail: false