Merge "Wait for salt-minions after restart"
diff --git a/tcp_tests/templates/shared-salt.yaml b/tcp_tests/templates/shared-salt.yaml
index 96fb6b5..0f1932e 100644
--- a/tcp_tests/templates/shared-salt.yaml
+++ b/tcp_tests/templates/shared-salt.yaml
@@ -729,11 +729,17 @@
- description: Configure salt.minion on other nodes
cmd: salt --timeout=120 --hard-crash --state-output=mixed --state-verbose=False -C 'I@linux:system and not cfg01*' state.sls salt.minion &&
- sleep 20
+ sleep 30
node_name: {{ HOSTNAME_CFG01 }}
retry: {count: 3, delay: 15}
skip_fail: false
+- description: Wait for salt-minions wake up after restart
+ cmd: salt --hard-crash --state-output=mixed --state-verbose=False '*' test.ping
+ node_name: {{ HOSTNAME_CFG01 }}
+ retry: {count: 5, delay 20}
+ skip_fail: false
+
- description: Execute linux.network.host one more time after salt.minion to apply dynamically registered hosts on the cluster nodes
cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@linux:system' state.sls linux.network.host
node_name: {{ HOSTNAME_CFG01 }}