Browse Source

Increase timeout to run tests on slow platforms

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
root 10 năm trước cách đây
mục cha
commit
b98edced9e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      hack/make.sh

+ 1 - 1
hack/make.sh

@@ -146,7 +146,7 @@ ORIG_BUILDFLAGS=( -a -tags "netgo static_build $DOCKER_BUILDTAGS" -installsuffix
 # see https://github.com/golang/go/issues/9369#issuecomment-69864440 for why -installsuffix is necessary here
 BUILDFLAGS=( $BUILDFLAGS "${ORIG_BUILDFLAGS[@]}" )
 # Test timeout.
-: ${TIMEOUT:=30m}
+: ${TIMEOUT:=60m}
 TESTFLAGS+=" -test.timeout=${TIMEOUT}"
 
 # A few more flags that are specific just to building a completely-static binary (see hack/make/binary)