diff options
Diffstat (limited to 'tempest/api/compute/volumes')
-rw-r--r-- | tempest/api/compute/volumes/test_attach_volume.py | 2 | ||||
-rw-r--r-- | tempest/api/compute/volumes/test_volumes_list.py | 6 | ||||
-rw-r--r-- | tempest/api/compute/volumes/test_volumes_negative.py | 18 |
3 files changed, 9 insertions, 17 deletions
diff --git a/tempest/api/compute/volumes/test_attach_volume.py b/tempest/api/compute/volumes/test_attach_volume.py index 12d5b0ef7..7f345aed9 100644 --- a/tempest/api/compute/volumes/test_attach_volume.py +++ b/tempest/api/compute/volumes/test_attach_volume.py @@ -86,7 +86,6 @@ class AttachVolumeTestJSON(base.BaseV2ComputeTest): @test.idempotent_id('52e9045a-e90d-4c0d-9087-79d657faffff') @testtools.skipUnless(CONF.compute.run_ssh, 'SSH required for this test') - @test.attr(type='gate') def test_attach_detach_volume(self): # Stop and Start a server with an attached volume, ensuring that # the volume remains attached. @@ -120,7 +119,6 @@ class AttachVolumeTestJSON(base.BaseV2ComputeTest): partitions = linux_client.get_partitions() self.assertNotIn(self.device, partitions) - @test.attr(type='gate') @test.idempotent_id('7fa563fe-f0f7-43eb-9e22-a1ece036b513') def test_list_get_volume_attachments(self): # Create Server, Volume and attach that Volume to Server diff --git a/tempest/api/compute/volumes/test_volumes_list.py b/tempest/api/compute/volumes/test_volumes_list.py index cfdf1fc3a..fdece0ca5 100644 --- a/tempest/api/compute/volumes/test_volumes_list.py +++ b/tempest/api/compute/volumes/test_volumes_list.py @@ -83,7 +83,6 @@ class VolumesTestJSON(base.BaseV2ComputeTest): cls.delete_volume(volume['id']) super(VolumesTestJSON, cls).resource_cleanup() - @test.attr(type='gate') @test.idempotent_id('bc2dd1a0-15af-48e5-9990-f2e75a48325d') def test_volume_list(self): # Should return the list of Volumes @@ -99,7 +98,6 @@ class VolumesTestJSON(base.BaseV2ComputeTest): ', '.join(m_vol['displayName'] for m_vol in missing_volumes)) - @test.attr(type='gate') @test.idempotent_id('bad0567a-5a4f-420b-851e-780b55bb867c') def test_volume_list_with_details(self): # Should return the list of Volumes with details @@ -115,7 +113,6 @@ class VolumesTestJSON(base.BaseV2ComputeTest): ', '.join(m_vol['displayName'] for m_vol in missing_volumes)) - @test.attr(type='gate') @test.idempotent_id('1048ed81-2baf-487a-b284-c0622b86e7b8') def test_volume_list_param_limit(self): # Return the list of volumes based on limit set @@ -125,7 +122,6 @@ class VolumesTestJSON(base.BaseV2ComputeTest): self.assertEqual(len(fetched_vol_list), params['limit'], "Failed to list volumes by limit set") - @test.attr(type='gate') @test.idempotent_id('33985568-4965-49d5-9bcc-0aa007ca5b7a') def test_volume_list_with_detail_param_limit(self): # Return the list of volumes with details based on limit set. @@ -135,7 +131,6 @@ class VolumesTestJSON(base.BaseV2ComputeTest): self.assertEqual(len(fetched_vol_list), params['limit'], "Failed to list volume details by limit set") - @test.attr(type='gate') @test.idempotent_id('51c22651-a074-4ea7-af0b-094f9331303e') def test_volume_list_param_offset_and_limit(self): # Return the list of volumes based on offset and limit set. @@ -153,7 +148,6 @@ class VolumesTestJSON(base.BaseV2ComputeTest): all_vol_list[index + params['offset']]['id'], "Failed to list volumes by offset and limit") - @test.attr(type='gate') @test.idempotent_id('06b6abc4-3f10-48e9-a7a1-3facc98f03e5') def test_volume_list_with_detail_param_offset_and_limit(self): # Return the list of volumes details based on offset and limit set. diff --git a/tempest/api/compute/volumes/test_volumes_negative.py b/tempest/api/compute/volumes/test_volumes_negative.py index fb9f365e8..65d9def9c 100644 --- a/tempest/api/compute/volumes/test_volumes_negative.py +++ b/tempest/api/compute/volumes/test_volumes_negative.py @@ -39,7 +39,7 @@ class VolumesNegativeTest(base.BaseV2ComputeTest): super(VolumesNegativeTest, cls).setup_clients() cls.client = cls.volumes_extensions_client - @test.attr(type=['negative', 'gate']) + @test.attr(type=['negative']) @test.idempotent_id('c03ea686-905b-41a2-8748-9635154b7c57') def test_volume_get_nonexistent_volume_id(self): # Negative: Should not be able to get details of nonexistent volume @@ -48,7 +48,7 @@ class VolumesNegativeTest(base.BaseV2ComputeTest): self.assertRaises(lib_exc.NotFound, self.client.get_volume, str(uuid.uuid4())) - @test.attr(type=['negative', 'gate']) + @test.attr(type=['negative']) @test.idempotent_id('54a34226-d910-4b00-9ef8-8683e6c55846') def test_volume_delete_nonexistent_volume_id(self): # Negative: Should not be able to delete nonexistent Volume @@ -57,7 +57,7 @@ class VolumesNegativeTest(base.BaseV2ComputeTest): self.assertRaises(lib_exc.NotFound, self.client.delete_volume, str(uuid.uuid4())) - @test.attr(type=['negative', 'gate']) + @test.attr(type=['negative']) @test.idempotent_id('5125ae14-152b-40a7-b3c5-eae15e9022ef') def test_create_volume_with_invalid_size(self): # Negative: Should not be able to create volume with invalid size @@ -67,7 +67,7 @@ class VolumesNegativeTest(base.BaseV2ComputeTest): self.assertRaises(lib_exc.BadRequest, self.client.create_volume, size='#$%', display_name=v_name, metadata=metadata) - @test.attr(type=['negative', 'gate']) + @test.attr(type=['negative']) @test.idempotent_id('131cb3a1-75cc-4d40-b4c3-1317f64719b0') def test_create_volume_with_out_passing_size(self): # Negative: Should not be able to create volume without passing size @@ -77,7 +77,7 @@ class VolumesNegativeTest(base.BaseV2ComputeTest): self.assertRaises(lib_exc.BadRequest, self.client.create_volume, size='', display_name=v_name, metadata=metadata) - @test.attr(type=['negative', 'gate']) + @test.attr(type=['negative']) @test.idempotent_id('8cce995e-0a83-479a-b94d-e1e40b8a09d1') def test_create_volume_with_size_zero(self): # Negative: Should not be able to create volume with size zero @@ -86,20 +86,20 @@ class VolumesNegativeTest(base.BaseV2ComputeTest): self.assertRaises(lib_exc.BadRequest, self.client.create_volume, size='0', display_name=v_name, metadata=metadata) - @test.attr(type=['negative', 'gate']) + @test.attr(type=['negative']) @test.idempotent_id('f01904f2-e975-4915-98ce-cb5fa27bde4f') def test_get_invalid_volume_id(self): # Negative: Should not be able to get volume with invalid id self.assertRaises(lib_exc.NotFound, self.client.get_volume, '#$%%&^&^') - @test.attr(type=['negative', 'gate']) + @test.attr(type=['negative']) @test.idempotent_id('62bab09a-4c03-4617-8cca-8572bc94af9b') def test_get_volume_without_passing_volume_id(self): # Negative: Should not be able to get volume when empty ID is passed self.assertRaises(lib_exc.NotFound, self.client.get_volume, '') - @test.attr(type=['negative', 'gate']) + @test.attr(type=['negative']) @test.idempotent_id('62972737-124b-4513-b6cf-2f019f178494') def test_delete_invalid_volume_id(self): # Negative: Should not be able to delete volume when invalid ID is @@ -107,7 +107,7 @@ class VolumesNegativeTest(base.BaseV2ComputeTest): self.assertRaises(lib_exc.NotFound, self.client.delete_volume, '!@#$%^&*()') - @test.attr(type=['negative', 'gate']) + @test.attr(type=['negative']) @test.idempotent_id('0d1417c5-4ae8-4c2c-adc5-5f0b864253e5') def test_delete_volume_without_passing_volume_id(self): # Negative: Should not be able to delete volume when empty ID is passed |