File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments