浏览代码

Increase timeout to run tests on slow platforms

Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
root 10 年之前
父节点
当前提交
b98edced9e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)