Try fixing hanging e2e tests #183

Merged
schmelczer merged 11 commits from asch/dead-locks into main 2025-12-14 17:19:25 +00:00
2 changed files with 9 additions and 1 deletions
Showing only changes of commit c7507a3e7a - Show all commits

Upload logs instead of printing them

Andras Schmelczer 2025-12-14 11:47:47 +00:00

View file

@ -58,6 +58,14 @@ jobs:
exit $EXIT_CODE
- name: Upload e2e logs
if: always()
uses: actions/upload-artifact@v4
with:
name: e2e-logs
path: logs/
retention-days: 30
- name: Cleanup
if: always()
run: scripts/clean-up.sh

View file

@ -51,7 +51,7 @@ for i in $(seq 1 $process_count); do
echo "Started process $i with PID: $pid"
# Read from pipe, prefix with PID
(sed "s/^/[PID $pid] /" < "$pipe" | tee "../logs/log_${i}.log"; rm "$pipe") &
(sed "s/^/[PID $pid] /" < "$pipe" > "../logs/log_${i}.log"; rm "$pipe") &
done
cd ..