]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Move WaitCondition polling to check_create_complete()
authorZane Bitter <zbitter@redhat.com>
Mon, 13 May 2013 15:55:41 +0000 (17:55 +0200)
committerZane Bitter <zbitter@redhat.com>
Mon, 13 May 2013 15:55:46 +0000 (17:55 +0200)
commitaed73f9a30406a97e8d5ca583d266df607da26b6
tree939f6a6e8062964061081de39d51c1d408462317
parent8c3b308803ef5094ba1962d616e54318b3550d2a
Move WaitCondition polling to check_create_complete()

Rather than poll in a loop inside handle_create(), use
check_create_complete() to check the status of the WaitCondition.

Change-Id: I63dc6ec6aeedf3238123334722f86a0f1205f306
heat/engine/resources/wait_condition.py
heat/tests/test_waitcondition.py