heat/heat/tests/convergence
Zane Bitter 5681e237c5 Avoid creating new resource with old template
If a traversal is interrupted by a fresh update before a particular
resource is created, then the resource is left stored in the DB with the
old template ID. While an update always uses the new template, a create
assumes that the template ID in the DB is correct. Since the resource has
never been created, the new traversal will create it using the old
template.

To resolve this, detect the case where the resource has not been created
yet and we are about to create it and the traversal ID is still current,
and always use the new resource definition in that case.

Change-Id: Ifa0ce9e1e08f86b30df00d92488301ea05b45b14
Closes-Bug: #1663745
2017-06-05 23:14:19 -04:00
..
framework Improve logging of convergence scenario tests 2017-04-05 12:39:46 -04:00
scenarios Avoid creating new resource with old template 2017-06-05 23:14:19 -04:00
__init__.py convergence scenario tests 2015-09-08 09:18:36 +05:30
test_converge.py Remove unnecessary setUp and tearDown 2016-09-30 10:56:31 +08:00