Unverified Commit 45131d7a authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #60090 from mikedanese/bzl2

Automatic merge from submit-queue (batch tested with PRs 59391, 58097, 60057, 60090). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. 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. ```release-note NONE ```
parents 370540f9 efa63b7a
...@@ -19,6 +19,5 @@ test:unit --features=race ...@@ -19,6 +19,5 @@ 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
build:integration --build_tag_filters=integration test:integration --local_test_jobs 4
test:integration --jobs 4
test:integration --test_tag_filters=integration test:integration --test_tag_filters=integration
...@@ -562,7 +562,6 @@ bazel-test-integration: ...@@ -562,7 +562,6 @@ bazel-test-integration:
@echo "$$BAZEL_TEST_INTEGRATION_HELP_INFO" @echo "$$BAZEL_TEST_INTEGRATION_HELP_INFO"
else else
bazel-test-integration: bazel-test-integration:
bazel build --config integration //test/integration/...
bazel test --config integration //test/integration/... bazel test --config integration //test/integration/...
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment