Merge "Fix TaskFlow loader to honor engine configuration"
This commit is contained in:
commit
81a47d9d8c
@ -36,7 +36,7 @@ class BaseTaskFlowEngine(object):
|
||||
def _taskflow_load(self, flow, **kwargs):
|
||||
eng = tf_engines.load(
|
||||
flow,
|
||||
engine_conf=CONF.task_flow.engine,
|
||||
engine=CONF.task_flow.engine,
|
||||
executor=self.executor,
|
||||
never_resolve=CONF.task_flow.disable_revert,
|
||||
**kwargs)
|
||||
|
@ -60,7 +60,7 @@ class TestBaseTaskFlowEngine(base.TestCase):
|
||||
|
||||
tf_engines.load.assert_called_once_with(
|
||||
'TEST',
|
||||
engine_conf='TESTENGINE',
|
||||
engine='TESTENGINE',
|
||||
executor='TESTEXECUTOR',
|
||||
never_resolve=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user