]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Fix the wait condition's reading of the metadata.
authorAngus Salkeld <asalkeld@redhat.com>
Thu, 21 Jun 2012 10:10:53 +0000 (20:10 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Thu, 21 Jun 2012 10:10:53 +0000 (20:10 +1000)
commitc44746d8d500825211b53cfdc54ee8ea73fb639d
tree1ce2a6c62bf1a2afa9360b226aa30e6c46733f13
parent477baee868a990ae5b4733c08668f382aa156481
Fix the wait condition's reading of the metadata.

the db was caching the object, so we need to 'expire'
it to make sure we are getting live data.

Change-Id: I1108daccc96f3dcfa33fda968ea30d83e03aad2d
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
heat/db/sqlalchemy/models.py
heat/engine/manager.py
heat/engine/wait_condition.py
heat/tests/test_waitcondition.py [new file with mode: 0644]