mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-23 05:10:29 -07:00
Integration test fixes (#142)
<!-- This change is generated by MagicModules. --> /cc @rambleraptor
This commit is contained in:
parent
d16c2b8629
commit
30f3eb02e9
15 changed files with 268 additions and 270 deletions
|
@ -61,7 +61,7 @@
|
|||
- name: verify that command succeeded
|
||||
assert:
|
||||
that:
|
||||
- results['items'] | length >= 1
|
||||
- "'my-cluster' in \"{{ results['items'] | map(attribute='name') | list }}\""
|
||||
# ----------------------------------------------------------------------------
|
||||
- name: create a cluster that already exists
|
||||
gcp_container_cluster:
|
||||
|
@ -116,7 +116,7 @@
|
|||
- name: verify that command succeeded
|
||||
assert:
|
||||
that:
|
||||
- results['items'] | length == 0
|
||||
- "'my-cluster' not in \"{{ results['items'] | map(attribute='name') | list }}\""
|
||||
# ----------------------------------------------------------------------------
|
||||
- name: delete a cluster that does not exist
|
||||
gcp_container_cluster:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue