Skip get_server_diagnostics test until bug 1240043 is fixed
Change If631472081d16fe8c0b37575eb157a7b13d6fba4 introduced new restrictions
on the diagnostics API which are not valid with XenAPI and causes it to fail
tempest tests.
Bug 1240043 has been raised to define a hypervisor-agnostic API which can be
tested and maintained
Closes bug: 1239209
Change-Id: I3e643d8e7a63b7dc42a912fab09ffc4222d463db
diff --git a/tempest/api/compute/admin/test_servers.py b/tempest/api/compute/admin/test_servers.py
index 2029a2e..c707c64 100644
--- a/tempest/api/compute/admin/test_servers.py
+++ b/tempest/api/compute/admin/test_servers.py
@@ -19,6 +19,7 @@
from tempest.common.utils.data_utils import rand_name
from tempest import exceptions
from tempest.test import attr
+from tempest.test import skip_because
class ServersAdminTestJSON(base.BaseComputeAdminTest):
@@ -162,6 +163,7 @@
self.client.reset_state, '999')
@attr(type='gate')
+ @skip_because(bug="1240043")
def test_get_server_diagnostics_by_admin(self):
# Retrieve server diagnostics by admin user
resp, diagnostic = self.client.get_server_diagnostics(self.s1_id)