[Bug:2088241] VIO 5.0 requies api_v2=False
With earlier code tests were failing with AttributeError: 'Manager' object has no attribute 'volumes_client' Tested the change with some tests root@prome-mdt-dhcp412:/opt/stack/tempest# ostestr --pdb vmware_nsx_tempest.tests.nsxv3.scenario.test_allowed_address_pair.TestAllowedAddressPair {0} vmware_nsx_tempest.tests.nsxv3.scenario.test_allowed_address_pair.TestAllowedAddressPair.test_allowed_adddress_pair_on_vms_with_single_ip [95.735889s] ... ok {0} vmware_nsx_tempest.tests.nsxv3.scenario.test_allowed_address_pair.TestAllowedAddressPair.test_allowed_adddress_pair_ports_attach_as_interface_on_vms [114.847243s] ... ok {0} vmware_nsx_tempest.tests.nsxv3.scenario.test_allowed_address_pair.TestAllowedAddressPair.test_allowed_adddress_with_ip_mac_attach_as_interface_on_vms [181.927796s] ... ok {0} vmware_nsx_tempest.tests.nsxv3.scenario.test_allowed_address_pair.TestAllowedAddressPair.test_allowed_address_pair_on_vms_with_multiple_ips [97.630669s] ... ok {0} vmware_nsx_tempest.tests.nsxv3.scenario.test_allowed_address_pair.TestAllowedAddressPair.test_vm_accessible_using_allowed_adddress_pair_port_fip [60.466328s] ... ok ====== Totals ====== Ran: 5 tests in 555.0000 sec. - Passed: 5 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 550.6079 sec. Change-Id: I4d58cd136496306755f105719ebc5c634bd5d3d9
This commit is contained in:
parent
04f6aa045f
commit
2a629b279f
@ -83,6 +83,9 @@ class ScenarioTest(tempest.test.BaseTestCase):
|
||||
if CONF.volume_feature_enabled.api_v2:
|
||||
cls.volumes_client = cls.os_primary.volumes_v2_client
|
||||
cls.snapshots_client = cls.os_primary.snapshots_v2_client
|
||||
elif CONF.volume_feature_enabled.api_v3:
|
||||
cls.volumes_client = cls.os_primary.volumes_v3_client
|
||||
cls.snapshots_client = cls.os_primary.snapshots_v3_client
|
||||
else:
|
||||
cls.volumes_client = cls.os_primary.volumes_client
|
||||
cls.snapshots_client = cls.os_primary.snapshots_client
|
||||
|
Loading…
x
Reference in New Issue
Block a user