Skip to content

Commit

Permalink
MINOR Always keep thread dumps after build timeouts
Browse files Browse the repository at this point in the history
Reviewers: Matthias J. Sax <[email protected]>
  • Loading branch information
mumrah authored Feb 15, 2025
1 parent 36fd33a commit e330f0b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/scripts/thread-dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,5 @@ do
echo "Dumping threads for GradleWorkerMain pid $GRADLE_WORKER_PID into $FILENAME";
FILENAME="thread-dumps/GradleWorkerMain-$GRADLE_WORKER_PID.txt"
jstack $GRADLE_WORKER_PID > $FILENAME
if ! grep -q "kafka" $FILENAME; then
echo "No match for 'kafka' in thread dump file $FILENAME, discarding it."
rm $FILENAME;
fi;
sleep 5;
done;

0 comments on commit e330f0b

Please sign in to comment.