From efa63b7a5877252a3e542bc866cd0fe637933aed Mon Sep 17 00:00:00 2001 From: Mike Danese Date: Tue, 20 Feb 2018 10:57:39 -0800 Subject: [PATCH] bzl: use --local_test_jobs We originally seperated build and test so that only 4 integration tests would be run at a time, but we didn't want to slow down build, however we didn't know --local_test_jobs existed. This achieves the same result but more efficiently. --- build/root/.bazelrc | 3 +-- build/root/Makefile | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build/root/.bazelrc b/build/root/.bazelrc index 75da97cd8e..6c22f35729 100644 --- a/build/root/.bazelrc +++ b/build/root/.bazelrc @@ -19,6 +19,5 @@ test:unit --features=race test:unit --test_tag_filters=-e2e,-integration test:unit --flaky_test_attempts=3 -build:integration --build_tag_filters=integration -test:integration --jobs 4 +test:integration --local_test_jobs 4 test:integration --test_tag_filters=integration diff --git a/build/root/Makefile b/build/root/Makefile index f26f07d1a5..d7dbed8345 100644 --- a/build/root/Makefile +++ b/build/root/Makefile @@ -562,7 +562,6 @@ bazel-test-integration: @echo "$$BAZEL_TEST_INTEGRATION_HELP_INFO" else bazel-test-integration: - bazel build --config integration //test/integration/... bazel test --config integration //test/integration/... endif