From 1b8a2e0f8746d43d812b9b611067882a8e956c41 Mon Sep 17 00:00:00 2001 From: vponomaryov Date: Tue, 5 Jul 2016 16:43:31 +0300 Subject: [PATCH] Delete duplicated broken tempest test Test "test_unmanage_replicated_share_snapshot_with_no_replica" is located in "replication" test suite. But, it does only "snapshot unmanage" actions without any relations to "replication". Also, it does not delete real snapshot resource, because "manila snapshot" gets only unmanaged. So, just remove above mentioned test as duplication that, moreover, leads to resources orphanage and cleanup errors. Change-Id: Ifc762a882a78159adacfe168a4edbe824178301a Closes-Bug: #1599165 --- .../tests/api/admin/test_replication_actions.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/manila_tempest_tests/tests/api/admin/test_replication_actions.py b/manila_tempest_tests/tests/api/admin/test_replication_actions.py index b5f9388d74..a8f5eb76cb 100644 --- a/manila_tempest_tests/tests/api/admin/test_replication_actions.py +++ b/manila_tempest_tests/tests/api/admin/test_replication_actions.py @@ -177,19 +177,3 @@ class ReplicationAdminTest(base.BaseSharesMixedTest): lib_exc.Conflict, self.admin_client.unmanage_snapshot, snapshot_id=snapshot['id']) - - @test.attr(type=[base.TAG_POSITIVE, base.TAG_API_WITH_BACKEND]) - @testtools.skipUnless(CONF.share.run_manage_unmanage_snapshot_tests, - 'Manage/Unmanage Snapshot Tests are disabled.') - def test_unmanage_replicated_share_snapshot_with_no_replica(self): - """Unmanage a snapshot of the replicated share with no replica.""" - share = self.create_share(size=2, - share_type_id=self.share_type["id"], - availability_zone=self.share_zone, - client=self.admin_client) - - snapshot = self.create_snapshot_wait_for_active( - share["id"], client=self.admin_client) - self.admin_client.unmanage_snapshot(snapshot_id=snapshot['id']) - self.admin_client.wait_for_resource_deletion( - snapshot_id=snapshot['id'])