bump version of 'vcenter-test-container' to '1.3.0' (govmomi v0.18.0) (#41151)

* leave vmware_guest_powerstate tests enabled, but revert changes from: 66743f33
* leave VM poweroff tests enabled, but revert changes from: 87d6bdaf
* bumped 'vcenter-test-container' version to '1.3.0'
* updated test task names based on PR feedback
This commit is contained in:
Deric Crago 2018-06-06 11:24:21 -04:00 committed by Matt Clay
parent f61164406e
commit ba848e018c
5 changed files with 16 additions and 12 deletions

View file

@ -22,7 +22,7 @@
port: 443
state: started
- name: get a list of VMS from vcsim
- name: get a list of VMS from vcsim
uri:
url: http://{{ vcsim }}:5000/govc_find?filter=VM
register: vmlist
@ -45,7 +45,8 @@
- debug: var=poweroff_d1_c1_f0
- name: make sure no changes were made
# vcsim (v0.18.0) VMs are spawned PoweredOn
- name: make sure changes were made
assert:
that:
- "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [False]"
- "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [True]"

View file

@ -27,7 +27,7 @@
port: 443
state: started
- name: get a list of VMS from vcsim
- name: get a list of VMS from vcsim
uri:
url: http://{{ vcsim }}:5000/govc_find?filter=VM
register: vmlist
@ -36,7 +36,7 @@
- debug: var=vmlist
# https://github.com/ansible/ansible/issues/25011
# Sending "-folders 1" to vcsim nests the datacenter under
# Sending "-folders 1" to vcsim nests the datacenter under
# the folder so that the path prefix is no longer /vm
#
# /F0/DC0/vm/F0/DC0_H0_VM0
@ -56,7 +56,8 @@
- debug: var=poweroff_d1_c1_f1
- name: make sure no changes were made
# vcsim (v0.18.0) VMs are spawned PoweredOn
- name: make sure changes were made
assert:
that:
- "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [False]"
- "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [True]"

View file

@ -45,7 +45,8 @@
- debug: var=poweroff_d1_c1_f0
- name: make sure no changes were made
# vcsim (v0.18.0) VMs are spawned PoweredOn
- name: make sure changes were made
assert:
that:
- "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [False]"
- "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [True]"

View file

@ -56,7 +56,8 @@
- debug: var=poweroff_d1_c1_f1
- name: make sure no changes were made
# vcsim (v0.18.0) VMs are spawned PoweredOn
- name: make sure changes were made
assert:
that:
- "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [False]"
- "poweroff_d1_c1_f1.results|map(attribute='changed')|unique|list == [True]"

View file

@ -43,7 +43,7 @@ class VcenterProvider(CloudProvider):
if os.environ.get('ANSIBLE_VCSIM_CONTAINER'):
self.image = os.environ.get('ANSIBLE_VCSIM_CONTAINER')
else:
self.image = 'quay.io/ansible/vcenter-test-container:1.2.0'
self.image = 'quay.io/ansible/vcenter-test-container:1.3.0'
self.container_name = ''
def filter(self, targets, exclude):