Provide the -integration build tag even race detector is off. (#4821)

This commit is contained in:
Jacob Hoffman-Andrews 2020-05-27 08:57:30 -07:00 committed by GitHub
parent 8dcd66883a
commit ca0056cb8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ def install(race_detection):
# Pass empty BUILD_TIME and BUILD_ID flags to avoid constantly invalidating the
# build cache with new BUILD_TIMEs, or invalidating it on merges with a new
# BUILD_ID.
cmd = "/usr/bin/make GO_BUILD_FLAGS='' "
cmd = "/usr/bin/make GO_BUILD_FLAGS='-tags \"integration\"' "
if race_detection:
cmd = "/usr/bin/make GO_BUILD_FLAGS='-race -tags \"integration\"'"