Skip to content

Commit

Permalink
Merge pull request #20991 from BenTheElder/cache-plz
Browse files Browse the repository at this point in the history
kubernetes cached make test: disable -race, simplify running
  • Loading branch information
k8s-ci-robot authored Feb 24, 2021
2 parents 04cedf9 + 7f5ef6c commit 44ca2ec
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions config/jobs/kubernetes/sig-testing/make-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ presubmits:
mkdir -p _output/local/go/
time tar -xzf cache.tar.gz -C _output/local/go
# Run tests as usual
time make test KUBE_RACE=-race KUBE_TIMEOUT=--timeout=240s
time make test KUBE_TIMEOUT=--timeout=240s
# TODO: direct copy from pull-kubernetes-bazel-test, tune these
resources:
limits:
Expand Down Expand Up @@ -58,8 +58,7 @@ periodics:
- |
result=0
# Run the tests as usual
( cd hack/tools && GO111MODULE=on go install gotest.tools/gotestsum ) || result=$?
time make test KUBE_TIMEOUT=--timeout=600s KUBE_RACE=-race || result=$?
time make test KUBE_TIMEOUT=--timeout=600s || result=$?
# Send the cache off to gcs
time tar -czf cache.tar.gz -C _output/local/go cache/ || result=$?
time gsutil cp cache.tar.gz gs://kubernetes-jenkins/cache/poc/k8s-test-cache.tar.gz || result=$?
Expand Down Expand Up @@ -88,7 +87,4 @@ periodics:
mkdir -p _output/local/go/
time tar -xzf cache.tar.gz -C _output/local/go
# Run tests as usual
result=0
( cd hack/tools && GO111MODULE=on go install gotest.tools/gotestsum ) || result=$?
time make test KUBE_TIMEOUT=--timeout=600s KUBE_RACE=-race || result=$?
exit $result
time make test KUBE_TIMEOUT=--timeout=600s

0 comments on commit 44ca2ec

Please sign in to comment.