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
This commit is contained in:
Colin Cross 2024-04-30 11:19:25 -07:00
parent bf18d23827
commit 55f169abaa

View file

@ -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