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
This commit is contained in:
Steve Baker 2015-03-26 11:17:39 +13:00
parent bb3f40dfb5
commit 5af6e34d4b
1 changed files with 0 additions and 2 deletions

View File

@ -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,