Merge pull request #735 from pulumi/CITimeout
Bump the test timeout in CI.
This commit is contained in:
commit
10a1433720
|
@ -38,7 +38,7 @@ install:
|
||||||
- git clone git@github.com:pulumi/home ${GOPATH}/src/github.com/pulumi/home
|
- git clone git@github.com:pulumi/home ${GOPATH}/src/github.com/pulumi/home
|
||||||
- make ensure
|
- make ensure
|
||||||
script:
|
script:
|
||||||
- make travis_${TRAVIS_EVENT_TYPE}
|
- make travis_${TRAVIS_EVENT_TYPE} TEST_FAST_TIMEOUT=10m
|
||||||
notifications:
|
notifications:
|
||||||
webhooks: https://ufci1w66n3.execute-api.us-west-2.amazonaws.com/stage/travis
|
webhooks: https://ufci1w66n3.execute-api.us-west-2.amazonaws.com/stage/travis
|
||||||
|
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -11,6 +11,7 @@ GOMETALINTERBIN := gometalinter
|
||||||
GOMETALINTER := ${GOMETALINTERBIN} --config=Gometalinter.json
|
GOMETALINTER := ${GOMETALINTERBIN} --config=Gometalinter.json
|
||||||
|
|
||||||
TESTPARALLELISM := 10
|
TESTPARALLELISM := 10
|
||||||
|
TEST_FAST_TIMEOUT := 2m
|
||||||
|
|
||||||
build::
|
build::
|
||||||
go install -ldflags "-X github.com/pulumi/pulumi/pkg/version.Version=${VERSION}" ${PROJECT}
|
go install -ldflags "-X github.com/pulumi/pulumi/pkg/version.Version=${VERSION}" ${PROJECT}
|
||||||
|
@ -26,7 +27,7 @@ lint::
|
||||||
$(GOMETALINTER) ./cmd/... | grep -vE ${LINT_SUPPRESS} | sort ; exit $$(($${PIPESTATUS[1]}-1))
|
$(GOMETALINTER) ./cmd/... | grep -vE ${LINT_SUPPRESS} | sort ; exit $$(($${PIPESTATUS[1]}-1))
|
||||||
|
|
||||||
test_fast::
|
test_fast::
|
||||||
go test -timeout 5m -cover -parallel ${TESTPARALLELISM} ${PROJECT_PKGS}
|
go test -timeout $(TEST_FAST_TIMEOUT) -cover -parallel ${TESTPARALLELISM} ${PROJECT_PKGS}
|
||||||
|
|
||||||
test_all::
|
test_all::
|
||||||
PATH=$(PULUMI_ROOT)/bin:$(PATH) go test -cover -parallel ${TESTPARALLELISM} ${EXTRA_TEST_PKGS}
|
PATH=$(PULUMI_ROOT)/bin:$(PATH) go test -cover -parallel ${TESTPARALLELISM} ${EXTRA_TEST_PKGS}
|
||||||
|
|
Loading…
Reference in a new issue