commit | 6c2e0bfd6adabdae05e2a3cf51d3dfd4e57b6c76 | [log] [tgz] |
---|---|---|
author | Steve Baker <sbaker@redhat.com> | Fri Jun 21 11:23:20 2013 +1200 |
committer | Steve Baker <sbaker@redhat.com> | Fri Jun 21 11:27:52 2013 +1200 |
tree | 3ea1c62fba5c3dec0de40748ddb0cc5b6c080cab | |
parent | fd3556df1bb34409166eeb9a9ffe2a4cc99444fd [diff] |
Avoid potential race condition in list_stacks assert. Asserting that stack listing has increased by exactly 1 after a create is racy if there are other concurrent stack operations occuring. This replaces the assert with a check that confirms the created stack appears in the stack list. This race has not actually been triggered yet, but may when tempest gains some concurrency. Change-Id: I200efa6d3d55e403c9d9a5f3abc49ad6c024e6a9