Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marknet15 committed Feb 3, 2022
1 parent 75b807f commit 3ab2947
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,10 @@
iops: "{{ iops }}"
port: 1150
max_allocated_storage: 150
apply_immediately: True
register: result
retries: 30
delay: 10
until: result is not failed

- assert:
that:
Expand All @@ -101,11 +103,11 @@
- '"port" in result.pending_modified_values or result.endpoint.port == 1150'
- '"db_instance_class" in result.pending_modified_values or result.db_instance_class == modified_db_instance_class'

always:
- name: Delete the instance
rds_instance:
id: "{{ instance_id }}"
state: absent
skip_final_snapshot: True
wait: false
ignore_errors: yes
# always:
# - name: Delete the instance
# rds_instance:
# id: "{{ instance_id }}"
# state: absent
# skip_final_snapshot: True
# wait: false
# ignore_errors: yes
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@
password: "{{ password }}"
db_instance_class: "{{ db_instance_class }}"
allocated_storage: "{{ allocated_storage }}"
apply_immediately: True
register: result
retries: 30
delay: 10
until: result is not failed

- assert:
that:
Expand Down

0 comments on commit 3ab2947

Please sign in to comment.