mirror of https://github.com/k3s-io/k3s
Merge pull request #14501 from brendandburns/flakes3
Disable race detection for all integration testspull/6/head
commit
c7de21f2ea
|
@ -44,8 +44,10 @@ runTests() {
|
||||||
|
|
||||||
kube::log::status "Running integration test cases"
|
kube::log::status "Running integration test cases"
|
||||||
|
|
||||||
|
# TODO: Re-enable race detection when we switch to a thread-safe etcd client
|
||||||
|
# KUBE_RACE="-race"
|
||||||
KUBE_GOFLAGS="-tags 'integration no-docker' " \
|
KUBE_GOFLAGS="-tags 'integration no-docker' " \
|
||||||
KUBE_RACE="-race" \
|
KUBE_RACE="" \
|
||||||
KUBE_TEST_API_VERSIONS="$1" \
|
KUBE_TEST_API_VERSIONS="$1" \
|
||||||
KUBE_API_VERSIONS="v1,experimental/v1" \
|
KUBE_API_VERSIONS="v1,experimental/v1" \
|
||||||
"${KUBE_ROOT}/hack/test-go.sh" test/integration
|
"${KUBE_ROOT}/hack/test-go.sh" test/integration
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build integration,!no-etcd,!race
|
// +build integration,!no-etcd
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2014 The Kubernetes Authors All rights reserved.
|
Copyright 2014 The Kubernetes Authors All rights reserved.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// +build integration,!no-etcd,!race
|
// +build integration,!no-etcd
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2014 The Kubernetes Authors All rights reserved.
|
Copyright 2014 The Kubernetes Authors All rights reserved.
|
||||||
|
|
Loading…
Reference in New Issue