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:
parent
bf18d23827
commit
55f169abaa
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue