Skip to content

Commit

Permalink
Distinguish a blocked vs slow test run
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-webb committed Oct 16, 2024
1 parent 234b95a commit 59edd40
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test-msys2-ucrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,13 @@ jobs:
info threads
thread apply all backtrace
EOT
kill $test_pid
break
sleep 5s
if ps -p $test_pid > /dev/null; then
echo "asyncappender is deadlocked!!"
kill $test_pid
break
else
echo "asyncappender terminated OK"
fi
fi
done

0 comments on commit 59edd40

Please sign in to comment.