Skip to content

Commit

Permalink
tests: increase timeout
Browse files Browse the repository at this point in the history
generic/006 may take a bit long to complete, so increase timeout.

Signed-off-by: Ming Lei <[email protected]>
  • Loading branch information
ming1 committed Jun 4, 2024
1 parent 6550517 commit c54760f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ run_test() {
echo "running $GRP/$NAME" | tee /dev/kmsg
sh -c $TS &
local TPID=$!
local timeout=250
local timeout=600
local count=0
while [ $count -lt $timeout ]; do
sleep 1
kill -0 $TPID > /dev/null 2>&1
[ $? -ne 0 ] && break
let count++
done
[ $count -ge $timeout ] && echo "timedout"
[ $count -ge $timeout ] && echo "test $GRP/$NAME timeout"
}

run_test_grp() {
Expand Down

0 comments on commit c54760f

Please sign in to comment.