Use race="off" mode instead of disabling race feature

pull/6/head
Jeff Grafton 2017-12-04 14:23:44 -08:00
parent efee0704c6
commit a532ecd704
2 changed files with 2 additions and 2 deletions

View File

@ -120,8 +120,8 @@ go_test(
"master_test.go",
],
embed = [":go_default_library"],
features = ["-race"],
importpath = "k8s.io/kubernetes/pkg/master",
race = "off",
deps = [
"//pkg/api/legacyscheme:go_default_library",
"//pkg/api/testapi:go_default_library",

View File

@ -23,8 +23,8 @@ go_test(
"undelta_store_test.go",
],
embed = [":go_default_library"],
features = ["-race"],
importpath = "k8s.io/client-go/tools/cache",
race = "off",
deps = [
"//vendor/github.com/google/gofuzz:go_default_library",
"//vendor/k8s.io/api/core/v1:go_default_library",