Heat stack will rollback on error (MRN-728)
Change-Id: I2755a557a4a5d810afc8b3e34aa5b318358baae2
This commit is contained in:
parent
98feefec21
commit
f5607d8da7
@ -132,7 +132,8 @@ class HeatExecutor(CommandBase):
|
||||
self._heat_client.stacks.create(
|
||||
stack_name=self._stack,
|
||||
parameters=arguments,
|
||||
template=template)
|
||||
template=template,
|
||||
disable_rollback=False)
|
||||
|
||||
log.debug('Waiting for the stack {0} to be create'.format(
|
||||
self._stack))
|
||||
|
@ -84,7 +84,8 @@ class TestHeatExecutor(unittest.TestCase):
|
||||
"testName": {
|
||||
"testKey": "testValue"
|
||||
}
|
||||
})
|
||||
},
|
||||
disable_rollback=False)
|
||||
callback.assert_called_with({})
|
||||
|
||||
@mock.patch('heatclient.v1.client.Client')
|
||||
|
Loading…
x
Reference in New Issue
Block a user