fix: sqlite nocgo with ionice and parallel flag (#112849)

* chore: log test DB path

* fix: run sqlite_nocgo with parallel 4 and ionice to reduce IO operations
This commit is contained in:
Rafael Bortolon Paulovic
2025-10-23 14:08:39 +02:00
committed by GitHub
parent 2a0f149a63
commit 4e296fa9ec
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -101,7 +101,8 @@ jobs:
run: |
set -euo pipefail
readarray -t PACKAGES <<< "$(./scripts/ci/backend-tests/pkgs-with-tests-named.sh -b TestIntegration | ./scripts/ci/backend-tests/shard.sh -N"$SHARD" -d-)"
CGO_ENABLED=0 go test -tags=sqlite -timeout=8m -run '^TestIntegration' "${PACKAGES[@]}"
# ionice since tests are IO intensive
CGO_ENABLED=0 ionice -c2 -n7 go test -p=4 -tags=sqlite -timeout=8m -run '^TestIntegration' "${PACKAGES[@]}"
mysql:
needs: detect-changes
if: needs.detect-changes.outputs.changed == 'true'