Skip to content

Commit

Permalink
Respond to feedback for conditional checks
Browse files Browse the repository at this point in the history
  • Loading branch information
sadielbartholomew committed Apr 17, 2018
1 parent 9da56fb commit f17cb25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/cylc-poll/14-intervals.t
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PRE_MSG='-health check settings:'
for INDEX in 1 2; do
for STAGE in 'submission' 'execution'; do
POLL_INT='PT2S,6\*PT10S,'
if [ "${STAGE}" == 'execution' ]; then
if [[ "${STAGE}" == 'execution' ]]; then
POLL_INT='2\*PT1S,10\*PT6S,'
fi
POST_MSG=".*, polling intervals=${POLL_INT}..."
Expand Down
4 changes: 2 additions & 2 deletions tests/jobscript/05-global-config.t
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ PRE_MSG='-health check settings:'
for STAGE in 'submission' 'execution'; do
for A_TASK in 'foo' 'bar'; do
POLL_INT='PT6S,'
if [ "${A_TASK}" == 'foo' ]; then
if [[ "${A_TASK}" == 'foo' ]]; then
POLL_INT='PT12S,PT6S,'
elif [ "${STAGE}" == 'execution' ]; then
elif [[ "${STAGE}" == 'execution' ]]; then
POLL_INT='PT18S,2\*PT12S,PT6S,'
fi
POST_MSG=".*, polling intervals=${POLL_INT}..."
Expand Down

0 comments on commit f17cb25

Please sign in to comment.