Skip to content

Commit

Permalink
Merge pull request #1856 from matthewrmshin/fix-t-cylc-kill-2
Browse files Browse the repository at this point in the history
Fix cylc-kill test 2
  • Loading branch information
hjoliver committed May 24, 2016
2 parents b218ed4 + 585c84b commit 55a04e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/cylc-kill/02-submitted/suite.rc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ sleep 60
[[killable-1, killable-2, killable-3]]
inherit=KILLABLE
[[killer]]
script=cylc kill -m "${CYLC_SUITE_NAME}" '*:submitted'
script="""
wait "${CYLC_TASK_MESSAGE_STARTED_PID}" 2>/dev/null || true
sleep 5
cylc kill -m "${CYLC_SUITE_NAME}" '*:submitted'
"""
[[sleeper]]
script=sleep 20
[[stopper]]
Expand Down

0 comments on commit 55a04e3

Please sign in to comment.