You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
teamcity-trigger: ensure that race tag is only passed once
By running under `-race`, the go command defines the `race`
build tag for us [1].
Previously, we defined it under `TAGS` to let the issue poster
know that this is a failure under `race` and indicate that in
the issue.
At the time, defining the tag twice didn't cause issues
but after #109773, it led to build failures [2].
To reproduce locally:
```
bazel test -s --config=race pkg/util/ctxgroup:all --test_env=GOTRACEBACK=all --define gotags=bazel,gss,race
```
As a follow-up, we should find another way to let the issue
poster know that a failure was running under `race`.
[1] https://go.dev/doc/articles/race_detector#Excluding_Tests
[2] #109994 (comment)
Epic: none
Release note: None
0 commit comments