diff options
author | Takashi Kajinami <tkajinam@redhat.com> | 2021-07-25 02:13:11 +0900 |
---|---|---|
committer | rabi <ramishra@redhat.com> | 2021-08-25 13:44:56 +0530 |
commit | c0d82c5e312309320e6c9e5ca84cd3635375cce7 (patch) | |
tree | 41f9755b2c74e80b9986f3db1a206e00ee1fafd6 /heat_integrationtests/common/test.py | |
parent | b9a3395978bf60d3ce769b8fcedc60b7127f404f (diff) | |
download | heat-stable/ussuri.tar.gz |
Use Block Storage API v3 instead of API v2stable/ussuri
Block Storage API v2 was deprecated during Pike cycle and is being
removed during Xena cycle, and current v3 API should be used instead.
Unused volume_client and network_client in integration test code are
also removed by this change.
Note:
granade tests is made non-voting temporally until the same issue is
fixed in stable/victoria.
Also, changes to use fedora 33 for tests.
Depends-on: https://review.opendev.org/802150/
Change-Id: I6a2b5afa13480791971bbd8bba1f43b9f2db8294
(cherry picked from commit 1828df32fa946d49d8449ff1d8a26c05b3990a65)
Move testing to Fedora 33
Now that the gate is unblocked, we can also test F33 for gating purposes
here.
Change-Id: Ie1c9075623d85b27aaf1ac67a3063e219726bc6f
(cherry picked from commit 6a9c35d89804057b56e1b0b995265ce3eb68129d)
Diffstat (limited to 'heat_integrationtests/common/test.py')
-rw-r--r-- | heat_integrationtests/common/test.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/heat_integrationtests/common/test.py b/heat_integrationtests/common/test.py index d5c259501..8f789e9b9 100644 --- a/heat_integrationtests/common/test.py +++ b/heat_integrationtests/common/test.py @@ -104,8 +104,6 @@ class HeatIntegrationTest(testscenarios.WithScenarios, self.identity_client = self.manager.identity_client self.orchestration_client = self.manager.orchestration_client self.compute_client = self.manager.compute_client - self.network_client = self.manager.network_client - self.volume_client = self.manager.volume_client self.object_client = self.manager.object_client self.client = self.orchestration_client @@ -169,14 +167,6 @@ class HeatIntegrationTest(testscenarios.WithScenarios, def _stack_rand_name(cls): return rand_name(cls.__name__) - def _get_network(self, net_name=None): - if net_name is None: - net_name = self.conf.fixed_network_name - networks = self.network_client.list_networks() - for net in networks['networks']: - if net['name'] == net_name: - return net - def is_service_available(self, service_type): try: self.identity_client.get_endpoint_url( |