Skip to content

Commit

Permalink
test fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-sanders committed Apr 12, 2024
1 parent 3399416 commit abf2708
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/functional/lib/bash/test_header
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ grep_workflow_log_ok() {
local PATTERN="$2"
shift 2
local LOG_FILE="${WORKFLOW_RUN_DIR}/log/scheduler/log"
if grep "$@" -s -e "$PATTERN" "$LOG_FILE"; then
if grep "$@" -s -e -q "$PATTERN" "$LOG_FILE"; then
ok "${TEST_NAME}"
return
fi
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/optional-outputs/01-stall-on-incomplete.t
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ workflow_run_fail "${TEST_NAME_BASE}-run" \

LOG="${WORKFLOW_RUN_DIR}/log/scheduler/log"
grep_ok "Incomplete tasks" "${LOG}"
grep_ok "1/foo did not complete the required outputs:\n(.*\n){3}.*y$" "${LOG}" -Pizo
grep_ok '1/foo did not complete the required outputs:\n(.*\n){3}.*y$' "${LOG}" -Pizo
grep_ok "Workflow stalled" "${LOG}"

purge
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/spawn-on-demand/19-submitted-compat.t
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ grep_workflow_log_ok \
'\[1/a/01:running\] => succeeded'
grep_workflow_log_ok \
"${TEST_NAME_BASE}-b-incomplete" \
"1/b did not complete the required outputs:\n.*\n.*submitted.*\n.*succeeded" \
'1/b did not complete the required outputs:\n.*\n.*submitted.*\n.*succeeded' \
-Pizo

purge

0 comments on commit abf2708

Please sign in to comment.