Skip to content

Commit

Permalink
Fix reference to TIMEOUT
Browse files Browse the repository at this point in the history
  • Loading branch information
rocallahan committed May 9, 2024
1 parent 5c06010 commit e55f22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ function checkpoint_test { exe=$1; min=$2; max=$3;

function wait_for_complete {
local record_dir=${1:-"${workdir}/latest-trace"}
for ((i = 0; i < TIMEOUT * 10; i++)); do
for ((i = 0; i < $TIMEOUT * 10; i++)); do
[[ -f "$record_dir/incomplete" ]] || break
sleep 0.1
done
Expand Down

0 comments on commit e55f22e

Please sign in to comment.