Remove use of deprecated config options for volume API selection

Tempest has moved the Volume APIs testing to v3 as default and can be run
under v2 API via catalog_type.
- https://review.opendev.org/#/q/topic:volume-default-testing-v3+(status:open+OR+status:merged)

Below config options were deprecated since Rocky and now Tempest is going
to remove those (Needed-By patch):
    * ``CONF.volume-feature-enabled.api_v2``
    * ``CONF.volume-feature-enabled.api_v3``

Change-Id: I9fde2cca045b1e5349d57ace1df5ad2583e5b2b4
Needed-By: https://review.opendev.org/#/c/698754/
This commit is contained in:
Ghanshyam Mann 2019-12-12 17:10:07 +00:00
parent cb81f5311e
commit a0afcc6066
1 changed files with 2 additions and 4 deletions

View File

@ -72,10 +72,8 @@ class ScenarioTest(tempest.test.BaseTestCase):
cls.security_group_rules_client = (
cls.os_admin.security_group_rules_client)
if (CONF.volume_feature_enabled.api_v2 or
CONF.volume_feature_enabled.api_v3):
cls.volumes_client = cls.os_admin.volumes_client_latest
cls.snapshots_client = cls.os_admin.snapshots_client_latest
cls.volumes_client = cls.os_admin.volumes_client_latest
cls.snapshots_client = cls.os_admin.snapshots_client_latest
# ## Test functions library
#