diff --git a/heat_integrationtests/common/test.py b/heat_integrationtests/common/test.py index 1abd579df2..2a02529810 100644 --- a/heat_integrationtests/common/test.py +++ b/heat_integrationtests/common/test.py @@ -366,6 +366,11 @@ class HeatIntegrationTest(testscenarios.WithScenarios, except heat_exceptions.HTTPNotFound: if success_on_not_found: return + elif not any(s in status for s in ['CREATE', 'ADOPT']): + # raise exception when stack not found, if it's not + # in create or adopt (which should be the only two possible + # reason that stack may not have been created yet) + raise # ignore this, as the resource may not have # been created yet else: