skip test_stack_update_add_remove because of race
test_stack_update_add_remove races about 25% of the time in the
gate because the update is eventually consistent, and doesn't
happen before the list returns. It's unclear if this is
expected or unexpected behavior for heat, but 25% failure rate
is far too high.
Change-Id: I0cfd9c10c1fd5b674c1a2211f98a6aba042227da
Related-Bug: #1308682
diff --git a/tempest/api/orchestration/stacks/test_update.py b/tempest/api/orchestration/stacks/test_update.py
index 1bda0b4..a9a43b6 100644
--- a/tempest/api/orchestration/stacks/test_update.py
+++ b/tempest/api/orchestration/stacks/test_update.py
@@ -14,7 +14,7 @@
from tempest.api.orchestration import base
from tempest.common.utils import data_utils
-from tempest.test import attr
+from tempest import test
LOG = logging.getLogger(__name__)
@@ -47,7 +47,7 @@
self.assertEqual('202', resp[0]['status'])
self.client.wait_for_stack_status(stack_identifier, 'UPDATE_COMPLETE')
- @attr(type='gate')
+ @test.attr(type='gate')
def test_stack_update_nochange(self):
stack_name = data_utils.rand_name('heat')
stack_identifier = self.create_stack(stack_name, self.template)
@@ -61,7 +61,8 @@
self.assertEqual(expected_resources,
self.list_resources(stack_identifier))
- @attr(type='gate')
+ @test.attr(type='gate')
+ @test.skip_because(bug='1308682')
def test_stack_update_add_remove(self):
stack_name = data_utils.rand_name('heat')
stack_identifier = self.create_stack(stack_name, self.template)