]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine : Implement Count property for WaitCondition
authorSteven Hardy <shardy@redhat.com>
Mon, 14 Jan 2013 16:59:03 +0000 (16:59 +0000)
committerSteven Hardy <shardy@redhat.com>
Mon, 14 Jan 2013 18:58:49 +0000 (18:58 +0000)
commit21c960aca3d44ba598500aaa7b338c746adff5a9
tree915c15bfefd58b0afa4b69276bebe1c40b4e1c00
parentd02a9319b5d6268229042f0d41a8804af1980c0e
heat engine : Implement Count property for WaitCondition

The Count property of WaitCondition is currently ignored, so
regardless of the number specified the WaitCondition resource will
always go to CREATE_COMPLETE on the first WaitConditionHandle signal.
This patch fixes this so the Count property is handled correctly.

fixes bug 1097813

Change-Id: I71348c553702c0282a8826488c953ac3c2c76e38
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/engine/resources/wait_condition.py
heat/tests/test_waitcondition.py
templates/WordPress_Single_Instance_With_HA.template