Skip to content

Commit

Permalink
Add delays
Browse files Browse the repository at this point in the history
  • Loading branch information
tremble committed Apr 22, 2022
1 parent 7c07ba9 commit dada8f8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/integration/targets/ec2_snapshot/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@
# that:
# - result is changed

- name: Pause to avoid SnapshotCreationPerVolumeRateExceeded
pause:
minutes: 1

- name: Take snapshot and tag it
ec2_snapshot:
volume_id: '{{ volume_id }}'
Expand Down Expand Up @@ -212,6 +216,10 @@
that:
- info_result.snapshots| length == 3

- name: Pause to avoid SnapshotCreationPerVolumeRateExceeded
pause:
minutes: 1

- ec2_snapshot:
volume_id: '{{ volume_id }}'
snapshot_tags:
Expand Down

0 comments on commit dada8f8

Please sign in to comment.