Add retry for grains update
Change-Id: I43be6928a0d5a5fcaeef77e166dc280d030194cb
diff --git a/tcp_tests/templates/shared-backup-restore.yaml b/tcp_tests/templates/shared-backup-restore.yaml
index c85e684..2ec4d5d 100644
--- a/tcp_tests/templates/shared-backup-restore.yaml
+++ b/tcp_tests/templates/shared-backup-restore.yaml
@@ -57,7 +57,7 @@
- description: Refresh grains for the xtrabackup client node
cmd: salt -C 'I@xtrabackup:client' saltutil.sync_grains
node_name: {{ HOSTNAME_CFG01 }}
- retry: {count: 1, delay: 1}
+ retry: {count: 5, delay: 10}
skip_fail: false
- description: Update the mine for the xtrabackup client node
@@ -65,7 +65,7 @@
salt -C 'I@xtrabackup:client' mine.flush
salt -C 'I@xtrabackup:client' mine.update
node_name: {{ HOSTNAME_CFG01 }}
- retry: {count: 1, delay: 1}
+ retry: {count: 3, delay: 5}
skip_fail: false
- description: Apply the xtrabackup client state