Merge "Fill 'wf_name' task_db field"
This commit is contained in:
commit
9428332d19
@ -100,7 +100,8 @@ class RunTask(EngineCommand):
|
||||
'input': None,
|
||||
'in_context': None,
|
||||
'output': None,
|
||||
'runtime_context': None
|
||||
'runtime_context': None,
|
||||
'wf_name': exec_db.wf_name
|
||||
})
|
||||
|
||||
def _run_task(self):
|
||||
|
@ -93,6 +93,7 @@ class DefaultEngineTest(base.DbTestCase):
|
||||
|
||||
task_db = exec_db.tasks[0]
|
||||
|
||||
self.assertEqual('wb.wf1', task_db.wf_name)
|
||||
self.assertEqual('task1', task_db.name)
|
||||
self.assertEqual(states.RUNNING, task_db.state)
|
||||
self.assertIsNotNone(task_db.spec)
|
||||
|
Loading…
Reference in New Issue
Block a user