Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Jun 8, 2023
1 parent 9f10c68 commit 47e109f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cylc/flow/task_events_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,12 @@ def process_message(
new_msg = message

msg0 = message.split('/')[0]
completed_trigger = itask.state.outputs.set_msg_trg_completion(
message=msg0, is_completed=True)

if not quiet:
# Add information about task to data-store - if we
# haven't already:
self.data_store_mgr.delta_job_msg(
itask.tokens.duplicate(job=str(submit_num)).relative_id,
new_msg
Expand All @@ -613,8 +618,7 @@ def process_message(
# (first remove signal: failed/EXIT -> failed)
self.data_store_mgr.delta_task_output(itask, msg0)

completed_trigger = itask.state.outputs.set_msg_trg_completion(
message=msg0, is_completed=True)


# Check the `started` event has not been missed e.g. due to
# polling delay
Expand Down

0 comments on commit 47e109f

Please sign in to comment.