Fixed return values in compute_service_info module again
OpenStack SDK 0.53 added parameters is_forced_down and updated_at in openstack/compute/v2/service.py, hence our compute_service_info module will return different values depending on which release of the OpenStack SDK is used. Ref.:5450c45253
Change-Id: I4b055266555cb91681d0ab6edcaa850e061f3afb (cherry picked from commit4a7330364e
)
This commit is contained in:
parent
a70a4c3424
commit
9c16ee4df3
@ -10,8 +10,8 @@
|
||||
when: sdk_version is version(0.53, '<')
|
||||
assert:
|
||||
that:
|
||||
- '["availability_zone", "binary", "disables_reason", "is_forced_down",
|
||||
"host", "name", "state", "status", "updated_at", "id"] |
|
||||
- '["availability_zone", "binary", "disables_reason",
|
||||
"host", "name", "state", "status", "id"] |
|
||||
difference(result.openstack_compute_services.0.keys()) | length == 0'
|
||||
|
||||
- name: Assert fields on OpenStack SDK 0.53 and later
|
||||
|
Loading…
Reference in New Issue
Block a user