Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
d4676b67
Commit
d4676b67
authored
Sep 13, 2017
by
Joe Finney
Committed by
spxtr
Sep 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable go race detection for bazel tests.
There are a couple tests that need to run without race detection enabled. See issue 39649 for details.
parent
26bb28b0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
.bazelrc
build/root/.bazelrc
+3
-0
BUILD
pkg/master/BUILD
+1
-0
BUILD
staging/src/k8s.io/client-go/tools/cache/BUILD
+1
-0
No files found.
build/root/.bazelrc
View file @
d4676b67
...
...
@@ -17,3 +17,6 @@ build --sandbox_fake_username
# TODO(ixdy): Remove this default once rules_go is bumped.
# Ref kubernetes/kubernetes#52677
build --incompatible_comprehension_variables_do_not_leak=false
# Enable go race detection.
test --features=race
pkg/master/BUILD
View file @
d4676b67
...
...
@@ -109,6 +109,7 @@ go_test(
"master_openapi_test.go",
"master_test.go",
],
features = ["-race"],
library = ":go_default_library",
deps = [
"//pkg/api:go_default_library",
...
...
staging/src/k8s.io/client-go/tools/cache/BUILD
View file @
d4676b67
...
...
@@ -22,6 +22,7 @@ go_test(
"store_test.go",
"undelta_store_test.go",
],
features = ["-race"],
library = ":go_default_library",
deps = [
"//vendor/github.com/google/gofuzz:go_default_library",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment