File revert-juno-changes.patch of Package openstack-tempest
commit 3ed1df8e1d96aae8e48119b8e6dc7e140b752f0f
Author: Ghanshyam <ghanshyam.mann@nectechnologies.in>
Date: Fri Apr 25 11:39:31 2014 +0900
unskip list server actions tests
Bug #1206032 is fixed, so we can unskip the
test_list_server_actions.
These tests are needed for response validation testing.
Closes-Bug: #1206032
Change-Id: I1891d1f4435c3b884b099497352084ba8271a859
diff --git a/tempest/api/compute/v3/servers/test_instance_actions.py b/tempest/api/compute/v3/servers/test_instance_actions.py
index 64339b8..4c2dcbe 100644
--- a/tempest/api/compute/v3/servers/test_instance_actions.py
+++ b/tempest/api/compute/v3/servers/test_instance_actions.py
@@ -27,7 +27,6 @@ class InstanceActionsV3Test(base.BaseV3ComputeTest):
cls.resp = resp
cls.server_id = server['id']
- @test.skip_because(bug="1206032")
@test.attr(type='gate')
def test_list_server_actions(self):
# List actions of the provided server
commit c6c27ad48f47f42879a3df04a51e0ad2d96c7b1a
Author: Chris Buccella <buccella@linux.vnet.ibm.com>
Date: Tue Jun 10 22:51:32 2014 +0000
Remove the skip for test_get_instance_action()
Change Ia1880dd53b7cbf34e66b349f01afb15672dffd12 introduced a skip
for InstanceActionsV3Test.test_get_instance_action(). This was due
to the header x-compute-request-id being changed to
x-openstack-request id. The name has since been updated (as nova
change I5e370fd3de5ee2f8a8d13553015d88910ff5ea87), so the skip
is no longer needed.
Also the skip in change Ia493d4838dee4a8a587d12a55f16afeb143d959d
is no longer needed.
Closes-Bug: 1281915
Change-Id: I4839ba9287f792c8ed352bb63391285a3afc0b84
diff --git a/tempest/api/compute/v3/servers/test_instance_actions.py b/tempest/api/compute/v3/servers/test_instance_actions.py
index 399541b..64339b8 100644
--- a/tempest/api/compute/v3/servers/test_instance_actions.py
+++ b/tempest/api/compute/v3/servers/test_instance_actions.py
@@ -40,12 +40,10 @@ class InstanceActionsV3Test(base.BaseV3ComputeTest):
self.assertTrue(any([i for i in body if i['action'] == 'create']))
self.assertTrue(any([i for i in body if i['action'] == 'reboot']))
- @test.skip_because(bug="1206032")
@test.attr(type='gate')
- @test.skip_because(bug="1281915")
def test_get_server_action(self):
# Get the action details of the provided server
- request_id = self.resp['x-compute-request-id']
+ request_id = self.resp['x-openstack-request-id']
resp, body = self.client.get_server_action(self.server_id,
request_id)
self.assertEqual(200, resp.status)