File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,13 @@ ORIG_BUILDFLAGS=( -a -tags "autogen netgo static_build sqlite_omit_load_extensio
155155# see https://github.com/golang/go/issues/9369#issuecomment-69864440 for why -installsuffix is necessary here
156156BUILDFLAGS=( $BUILDFLAGS " ${ORIG_BUILDFLAGS[@]} " )
157157# Test timeout.
158- : ${TIMEOUT:= 180m}
158+
159+ if [ " ${DOCKER_ENGINE_GOARCH} " == " arm" ]; then
160+ : ${TIMEOUT:= 210m}
161+ else
162+ : ${TIMEOUT:= 120m}
163+ fi
164+
159165TESTFLAGS+=" -test.timeout=${TIMEOUT} "
160166
161167LDFLAGS_STATIC_DOCKER="
Original file line number Diff line number Diff line change @@ -128,7 +128,6 @@ type DockerTrustSuite struct {
128128}
129129
130130func (s * DockerTrustSuite ) SetUpTest (c * check.C ) {
131- testRequires (c , NotArm )
132131 s .reg = setupRegistry (c , false )
133132 s .not = setupNotary (c )
134133}
You can’t perform that action at this time.
0 commit comments