summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-04-30 11:19:25 -0700
committer Colin Cross <ccross@android.com> 2024-05-01 15:25:37 -0700
commit55f169abaa1a6adb9f40dc841df44a5013c35e75 (patch)
tree631d67b898a3376c18010470ea12b2251c59a104
parentbf18d23827b86796463f2273a0687cf069cfd10a (diff)
Raise test timeout when running soong tests with race detector
The apex tests sometimes hit the default 10 minute timeout when running with the race detector enabled in the aosp-build-tools builds. Test: treehugger Flag: NONE Change-Id: I6092a0c68c3b79cd24cdd4a6a8614f7eced7dc1a
-rwxr-xr-xscripts/run-soong-tests-with-go-tools.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-soong-tests-with-go-tools.sh b/scripts/run-soong-tests-with-go-tools.sh
index 93c622ea4..1fbb1fc77 100755
--- a/scripts/run-soong-tests-with-go-tools.sh
+++ b/scripts/run-soong-tests-with-go-tools.sh
@@ -74,6 +74,6 @@ for dir in "${go_modules[@]}"; do
(cd "$dir";
eval ${network_jail} -- ${GOROOT}/bin/go build ./...
eval ${network_jail} -- ${GOROOT}/bin/go test ./...
- eval ${network_jail} -- ${GOROOT}/bin/go test -race -short ./...
+ eval ${network_jail} -- ${GOROOT}/bin/go test -race -timeout 20m -short ./...
)
done