Removing redundant, possibly flaky test
test_create_image_when_server_is_building may fail is
the VM goes to ACTIVE too fast.
The test is already covered by the images whitebox tests.
Fixes bug #1180868
Change-Id: Ied4cc5f80456c617bb45f62ef91b7d31b938b654
diff --git a/tempest/tests/compute/images/test_images.py b/tempest/tests/compute/images/test_images.py
index d9e4153..1dae8a5 100644
--- a/tempest/tests/compute/images/test_images.py
+++ b/tempest/tests/compute/images/test_images.py
@@ -100,14 +100,6 @@
self.assertRaises(exceptions.Duplicate, self.client.create_image,
server['id'], snapshot_name)
- @attr(type='negative')
- def test_create_image_when_server_is_building(self):
- # Return error when creating an image of a server that is building
- resp, server = self.create_server(wait_until='BUILD')
- snapshot_name = rand_name('test-snap-')
- self.assertRaises(exceptions.Duplicate, self.client.create_image,
- server['id'], snapshot_name)
-
@testtools.skip("Until Bug #1039739 is fixed")
@attr(type='negative')
def test_create_image_when_server_is_rebooting(self):