Skip to content

Commit da22db2

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

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/flaky.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,16 @@ 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
8583
8684
echo "=== final bisect.log ==="
87-
sed -n '1,200p' bisect.log || true
85+
cat bisect.log | cut -c1-200 || true
8886
8987
env:
9088
MTB_VERBOSE: 2

0 commit comments

Comments
 (0)