The first public release of Fabled Minstrel #158
@@ -303,7 +303,14 @@ jobs:
|
||||
PKGS=$(sh ci/db-test-packages.sh)
|
||||
echo "database test packages: $(echo "$PKGS" | wc -l)"
|
||||
go test -race -run '^$' $PKGS
|
||||
go test -p 1 -race -timeout 20m $PKGS
|
||||
# TEMPORARY (#8297): one run with per-test durations, slowest first.
|
||||
rc=0
|
||||
go test -p 1 -race -timeout 20m -v $PKGS > /tmp/gotest.log 2>&1 || rc=$?
|
||||
grep -E '^(ok|FAIL|panic)|--- FAIL' /tmp/gotest.log || true
|
||||
echo "::group::slowest database tests"
|
||||
grep -E '^--- (PASS|FAIL)' /tmp/gotest.log | sed -E 's/^--- [A-Z]+: (\S+) \(([0-9.]+)s\)/\2 \1/' | sort -rn | head -150
|
||||
echo "::endgroup::"
|
||||
exit $rc
|
||||
|
||||
web:
|
||||
runs-on: go-ci
|
||||
|
||||
Reference in New Issue
Block a user