Skip to content

Commit 2827075

Browse files
committed
temp: unclutter
1 parent 3d24b68 commit 2827075

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/flaky.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,19 @@ jobs:
7373
if: ${{ failure() && steps.test.conclusion == 'failure' }}
7474
run: |
7575
TTL=1200
76-
timeout $TTL bundle exec bin/minitest_bisect ${{ matrix.seed }} --verbose 2>&1 | tee bisect.log & BIS_PID=$!
76+
timeout $TTL bundle exec bin/minitest_bisect ${{ matrix.seed }} --verbose 2>&1 > bisect.log & BIS_PID=$!
7777
sleep 10
7878
echo "=== Listening sockets ==="
7979
ss -ltnp || netstat -ltnp || lsof -iTCP -sTCP:LISTEN -P || true
8080
echo "=== ps aux (ruby-related) ==="
81-
while kill -0 $BIS_PID; do
82-
ps -o pid,ppid,cmd -u $USER | egrep -i 'minitest|ruby|drb' || true
83-
sleep 5
84-
done
81+
sleep 100
82+
ps -o pid,ppid,cmd -u $USER | egrep -i 'minitest|ruby|drb' | sed -n '1,200p' || true
83+
84+
tail -f bisect.log
85+
wait $BIS_PID
8586
8687
echo "=== final bisect.log ==="
87-
sed -n '1,200p' bisect.log || true
88+
cat bisect.log | cut -c1-200 || true
8889
8990
env:
9091
MTB_VERBOSE: 2

0 commit comments

Comments
 (0)