Skip to content

Commit

Permalink
Stop multiple suites in '08-suites-page.t' so processes do not persist.
Browse files Browse the repository at this point in the history
  • Loading branch information
sadielbartholomew committed Jul 2, 2018
1 parent 9ef7258 commit c800a12
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/cylc-review/08-suites-page.t
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,16 @@ cylc_ws_json_greps "${TEST_NAME}.stdout" "${TEST_NAME}.stdout" \
"[('entries', 0, 'name'), '${PREFIX_GROUP2}-02']" \
"[('entries', 1, 'name'), '${PREFIX_GROUP2}-01']"
#-------------------------------------------------------------------------------
# Tidy up - note suites trivial so stop early on by themselves
# Tidy up, including stopping suites explicitly, else processes may persist.

for SUFFIX in 'b' 'a' 'c'; do
cylc stop "${PREFIX_GROUP1}-${SUFFIX}"
fi
done
for SUFFIX in $(seq -w 1 10); do
cylc stop "${PREFIX_GROUP2}-${SUFFIX}"
done

rm -fr \
"${HOME}/cylc-run/${PREFIX_GROUP1}"[abc] \
"${HOME}/cylc-run/${PREFIX_GROUP2}"?? \
Expand Down

0 comments on commit c800a12

Please sign in to comment.