From 5af6e34d4bcdfc68eb40d7e60c28ac8abf624e83 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Thu, 26 Mar 2015 11:17:39 +1300 Subject: [PATCH] test_hooks remove race-prone status wait This resource status wait isn't needed since it is followed by a stack status wait. In change I1cff016805e4b8e7c2da887856d06f776425e6b0 this wait stalls because rg is in UPDATE_COMPLETE. I don't know yet why changing the scheduler timings makes rg be in UPDATE rather than CREATE. Change-Id: If5a97ff4d9bcb948bdec988c749fdc78329751a3 --- heat_integrationtests/functional/test_hooks.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/heat_integrationtests/functional/test_hooks.py b/heat_integrationtests/functional/test_hooks.py index f7d455a67..5c6f6bd10 100644 --- a/heat_integrationtests/functional/test_hooks.py +++ b/heat_integrationtests/functional/test_hooks.py @@ -191,8 +191,6 @@ class HooksTest(test.HeatIntegrationTest): reason='Hook pre-update is cleared', rsrc_name='rg') self.assertEqual('CREATE_COMPLETE', ev[0].resource_status) - self._wait_for_resource_status( - stack_identifier, 'rg', 'CREATE_COMPLETE') self._wait_for_stack_status(stack_identifier, 'UPDATE_COMPLETE') res_after = self.client.resources.get(stack_identifier, 'rg') self.assertEqual(res_before.physical_resource_id,