Skip to content

Commit

Permalink
Fix timeout on Alpine/Busybox
Browse files Browse the repository at this point in the history
For some reason timing timeout works but not timing out time
  • Loading branch information
richiejp committed Dec 9, 2024
1 parent 592a03b commit a91ccd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test-expect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ trap cleanup INT TERM QUIT
printf "\n%s, %s" "$TARGET" "${2:-}" >> "${TIMINGS_CSV}"

set +e
match_time=$(timeout 5 time -p "${script_dir}"/test-retry-capture-cmp.sh 2>&1)
match_time=$(time -p timeout -k 6 5 "${script_dir}"/test-retry-capture-cmp.sh 2>&1)
status=$?
set -e

Expand Down

0 comments on commit a91ccd4

Please sign in to comment.