Fix broken gate jobs · Doswind/python-openstackclient@def83a0 · GitHub
Skip to content

Commit def83a0

Browse files
zh-fDean Troyeremonty
authored andcommitted
Fix broken gate jobs
This patch aims at fixing the broken gate jobs because of cinder and glance patches [1], [2], [3] and [4]. * Remove parameter `--source-replicated` to drop volume replication v1 support * Address some timing issues with volume transfer requests * Only run Image v1 tests when the test cloud has v1 available * Get tolerant of unexpected additional attributes being returned in Image data [1].https://review.openstack.org/#/c/586293/ [2].https://review.openstack.org/#/c/532503/ [3].https://review.openstack.org/#/c/533564/ [4].https://review.openstack.org/#/c/578755/ Co-Authored-By: Dean Troyer <dtroyer@gmail.com> Co-Authored-By: Monty Taylor <mordred@inaugust.com> Depends-on: https://review.openstack.org/588664 Change-Id: I2a785750e92155185d3344e6116c7f5c6fdd3cbe Signed-off-by: Fan Zhang <zh.f@outlook.com>
1 parent f77ca68 commit def83a0

9 files changed

Lines changed: 160 additions & 176 deletions

File tree

doc/source/cli/command-objects/volume.rst

Lines changed: 2 additions & 6 deletions
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Licensed under the Apache License, Version 2.0 (the "License"); you may
2+
# not use this file except in compliance with the License. You may obtain
3+
# a copy of the License at
4+
#
5+
# http://www.apache.org/licenses/LICENSE-2.0
6+
#
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10+
# License for the specific language governing permissions and limitations
11+
# under the License.
12+
13+
from openstackclient.tests.functional import base
14+
15+
16+
class BaseImageTests(base.TestCase):
17+
"""Functional tests for Image commands"""
18+
19+
@classmethod
20+
def setUpClass(cls):
21+
super(BaseImageTests, cls).setUpClass()
22+
# TODO(dtroyer): maybe do image API discovery here to determine
23+
# what is available, it isn't in the service catalog
24+
cls.haz_v1_api = False

openstackclient/tests/functional/image/v1/test_image.py

Lines changed: 26 additions & 29 deletions

0 commit comments

Comments
 (0)