File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed
Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ test_script:
3131 # - GIT_CHECK_EXCLUDE="./vendor" TRAVIS_COMMIT_RANGE="${TRAVIS_COMMIT_RANGE/.../..}" C:\MinGW\bin\mingw32-make.exe dco
3232 - bash.exe -lc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe coverage root-coverage"
3333 - bash.exe -elc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe integration"
34- - bash.exe -elc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH ; mingw32-make.exe integration-parallel"
34+ # Run the integration suite a second time. See discussion in github.com/containerd/containerd/pull/1759
35+ - bash.exe -elc "export PATH=/c/tools/mingw64/bin:/c/gopath/src/github.com/containerd/containerd/bin:$PATH; TESTFLAGS_PARALLEL=1 mingw32-make.exe integration"
3536
3637on_success :
3738 codecov --flag windows -f coverage.txt
Original file line number Diff line number Diff line change @@ -62,7 +62,8 @@ script:
6262 - if [ "$GOOS" = "linux" ]; then make coverage ; fi
6363 - if [ "$GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make root-coverage ; fi
6464 - if [ "$GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make integration ; fi
65- - if [ "$GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH make integration-parallel ; fi
65+ # Run the integration suite a second time. See discussion in github.com/containerd/containerd/pull/1759
66+ - if [ "$GOOS" = "linux" ]; then sudo PATH=$PATH GOPATH=$GOPATH TESTFLAGS_PARALLEL=1 make integration ; fi
6667
6768after_success :
6869 - bash <(curl -s https://codecov.io/bash) -F linux
Original file line number Diff line number Diff line change @@ -124,10 +124,6 @@ root-test: ## run tests, except integration tests
124124 @go test ${TESTFLAGS} $(filter-out ${INTEGRATION_PACKAGE},${TEST_REQUIRES_ROOT_PACKAGES}) -test.root
125125
126126integration : # # run integration tests
127- @echo " $( WHALE) $@ "
128- @go test ${TESTFLAGS} -test.root -parallel 1
129-
130- integration-parallel : # # run integration tests
131127 @echo " $( WHALE) $@ "
132128 @go test ${TESTFLAGS} -test.root -parallel ${TESTFLAGS_PARALLEL}
133129
@@ -195,10 +191,6 @@ root-coverage: ## generate coverage profiles for unit tests that require root
195191 fi ; \
196192 done )
197193
198- coverage-integration : # # generate coverprofiles from the integration tests
199- @echo " $( WHALE) $@ "
200- go test ${TESTFLAGS} -test.short -coverprofile=" ../../../${INTEGRATION_PACKAGE} /coverage.txt" -covermode=atomic ${INTEGRATION_PACKAGE} -test.root
201-
202194vendor :
203195 @echo " $( WHALE) $@ "
204196 @vndr
You can’t perform that action at this time.
0 commit comments