]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Fix test_waitcondition.py race by converting to mox.
authorSteve Baker <sbaker@redhat.com>
Mon, 24 Sep 2012 23:46:08 +0000 (11:46 +1200)
committerSteve Baker <sbaker@redhat.com>
Mon, 24 Sep 2012 23:46:08 +0000 (11:46 +1200)
commit8f1de0c11ae7d2c357656f73590f9e3b3f73c990
treecf169b04b28feb0451932909873560b517c23de6
parentadb6adb516be589f090a15488b81c1f5ee64821a
Fix test_waitcondition.py race by converting to mox.

Eventlet calls and metadata state changes are now
mocked, so there are no sleeps, and in theory no
chance of races.

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