Skip to content

Commit

Permalink
community/go: increase timeout scale for armhf
Browse files Browse the repository at this point in the history
Some tests timeout on armhf because it's generally slower. Set
GO_TEST_TIMEOUT_SCALE=2 to account for that.

See: golang/go#19381
  • Loading branch information
Ikke committed Oct 25, 2021
1 parent 82bfccc commit fbc772c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions community/go/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ build() {

check() {
cd "$builddir/src"
[ "$CTARGET_ARCH" = "armhf" ] && GO_TEST_TIMEOUT_SCALE=2
# TODO: cgo_test fails due to https://github.com/golang/go/issues/39857
PATH="$builddir/bin:$PATH" ./run.bash -no-rebuild -run='!(^cgo_test$)'
}
Expand Down

0 comments on commit fbc772c

Please sign in to comment.