bzl: build --config unit should build with race enabled

This allows preheating unit test runs with:

bazel build -k --config unit -- //... -//vendor/...
This commit is contained in:
Mike Danese 2018-04-17 07:35:26 -07:00
parent 33f7d8618b
commit 6b940fd5d4

View File

@ -15,6 +15,7 @@ build --sandbox_tmpfs_path=/tmp
build --sandbox_fake_username build --sandbox_fake_username
# Enable go race detection. # Enable go race detection.
build:unit --features=race
test:unit --features=race test:unit --features=race
test:unit --test_tag_filters=-e2e,-integration test:unit --test_tag_filters=-e2e,-integration
test:unit --flaky_test_attempts=3 test:unit --flaky_test_attempts=3