Merge pull request #278 from versity/zab/test_sync_before_crash

Have run-tests monitor sync before crashing
This commit is contained in:
Zach Brown
2026-01-15 14:03:26 -08:00
committed by GitHub

View File

@@ -505,7 +505,10 @@ crash_monitor()
fi
if [ "$bad" != 0 ]; then
echo "run-tests monitor triggering crash"
echo "run-tests monitor syncing and triggering crash"
# hail mary, the sync could well hang
(echo s > /proc/sysrq-trigger) &
sleep 5
echo c > /proc/sysrq-trigger
exit 1
fi