Browse Source

Enable DockerTrustSuite for ARM again

Signed-off-by: Stefan Scherer <scherer_stefan@icloud.com>
Stefan Scherer 9 years ago
parent
commit
acb42c5fab
2 changed files with 7 additions and 2 deletions
  1. 7 1
      hack/make.sh
  2. 0 1
      integration-cli/check_test.go

+ 7 - 1
hack/make.sh

@@ -145,7 +145,13 @@ ORIG_BUILDFLAGS=( -a -tags "autogen netgo static_build sqlite_omit_load_extensio
 # see https://github.com/golang/go/issues/9369#issuecomment-69864440 for why -installsuffix is necessary here
 BUILDFLAGS=( $BUILDFLAGS "${ORIG_BUILDFLAGS[@]}" )
 # Test timeout.
-: ${TIMEOUT:=180m}
+
+if [ "${DOCKER_ENGINE_GOARCH}" == "arm" ]; then
+	: ${TIMEOUT:=210m}
+else
+	: ${TIMEOUT:=120m}
+fi
+
 TESTFLAGS+=" -test.timeout=${TIMEOUT}"
 
 LDFLAGS_STATIC_DOCKER="

+ 0 - 1
integration-cli/check_test.go

@@ -128,7 +128,6 @@ type DockerTrustSuite struct {
 }
 
 func (s *DockerTrustSuite) SetUpTest(c *check.C) {
-	testRequires(c, NotArm)
 	s.reg = setupRegistry(c, false)
 	s.not = setupNotary(c)
 }