Skip to content

Commit cba7ba2

Browse files
committed
Merge pull request moby#19488 from hypriot/enable-docker-trust-suite-on-arm
Enable DockerTrustSuite for ARM again
2 parents c91045a + acb42c5 commit cba7ba2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

hack/make.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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
156156
BUILDFLAGS=( $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+
159165
TESTFLAGS+=" -test.timeout=${TIMEOUT}"
160166

161167
LDFLAGS_STATIC_DOCKER="

integration-cli/check_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ type DockerTrustSuite struct {
128128
}
129129

130130
func (s *DockerTrustSuite) SetUpTest(c *check.C) {
131-
testRequires(c, NotArm)
132131
s.reg = setupRegistry(c, false)
133132
s.not = setupNotary(c)
134133
}

0 commit comments

Comments
 (0)