Temporarily disable capsule tests

Related-Bug: #1941982
Change-Id: I219042307bea53ae56515c95b380b4c4cfb03c4d
This commit is contained in:
Hongbin Lu 2021-08-29 16:28:51 +08:00
parent 9e0cf8fe91
commit 6d2529583b

View File

@ -10,6 +10,8 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import testtools
from oslo_utils import encodeutils from oslo_utils import encodeutils
from tempest.lib.common.utils import data_utils from tempest.lib.common.utils import data_utils
from tempest.lib import decorators from tempest.lib import decorators
@ -37,6 +39,7 @@ class TestCapsule(base.BaseZunTest):
return clients.Manager(manager.credentials) return clients.Manager(manager.credentials)
@decorators.idempotent_id('d5c91423-0f83-44f8-8228-e6a28ef7817e') @decorators.idempotent_id('d5c91423-0f83-44f8-8228-e6a28ef7817e')
@testtools.skip('bug 1941982')
def test_create_capsule(self): def test_create_capsule(self):
self._create_capsule() self._create_capsule()
@ -69,6 +72,7 @@ class TestCapsule(base.BaseZunTest):
pass pass
@decorators.idempotent_id('b7e79a0b-c09e-4539-886f-a9f33ae15620') @decorators.idempotent_id('b7e79a0b-c09e-4539-886f-a9f33ae15620')
@testtools.skip('bug 1941982')
def test_create_capsule_full(self): def test_create_capsule_full(self):
capsule_data = { capsule_data = {
"template": { "template": {
@ -117,6 +121,7 @@ class TestCapsule(base.BaseZunTest):
self._create_capsule(data=capsule_data) self._create_capsule(data=capsule_data)
@decorators.idempotent_id('8bb22511-b06f-4ea5-ae8d-9dd529205590') @decorators.idempotent_id('8bb22511-b06f-4ea5-ae8d-9dd529205590')
@testtools.skip('bug 1941982')
@utils.requires_microversion('1.32') @utils.requires_microversion('1.32')
def test_create_capsule_with_volume(self): def test_create_capsule_with_volume(self):
# create a volume in cinder # create a volume in cinder
@ -162,6 +167,7 @@ class TestCapsule(base.BaseZunTest):
self.assertEqual('available', volume['status']) self.assertEqual('available', volume['status'])
@decorators.idempotent_id('3534116a-fa85-4da5-b5a3-4ef20f9479b4') @decorators.idempotent_id('3534116a-fa85-4da5-b5a3-4ef20f9479b4')
@testtools.skip('bug 1941982')
@utils.requires_microversion('1.35') @utils.requires_microversion('1.35')
def test_create_capsule_with_init_container(self): def test_create_capsule_with_init_container(self):
capsule_data = { capsule_data = {