Skip to content

Commit

Permalink
Add sleep between tasks to let finish the previous task (#193)
Browse files Browse the repository at this point in the history
Signed-off-by: aman gupta <aman.gupta@mayadata.io>
  • Loading branch information
w3aman committed Jul 7, 2022
1 parent 4349192 commit dabd7ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:

# Block Size to dump the data using dd
- name: BLOCK_SIZE
value: '3000000'
value: '2000000'

# Block Count to dump the data using dd
- name: BLOCK_COUNT
Expand Down
6 changes: 6 additions & 0 deletions e2e-tests/experiments/chaos/revision_counter/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@
- include_tasks: ./delete_jiva_csi_replica.yml
loop: "{{ range(0, 10 | int, 1)|list }}"

- name: Sleep for some time to finish the dumping of test-data.
shell: >
sleep 720
args:
executable: /bin/bash

- name: Wait until the dumping process is finished and pid was destroyed
wait_for:
path: /proc/{{ p_id.stdout }}/status
Expand Down

0 comments on commit dabd7ab

Please sign in to comment.