diff options
author | 2017-01-16 14:55:11 +0000 | |
---|---|---|
committer | 2017-01-17 12:14:21 +0000 | |
commit | 4d723c7ad89bb657da9a47853b099fa5ca6ad407 (patch) | |
tree | b2f070511fa35a0386249bb3de52a0506cb3b1b0 /src | |
parent | 7f064ea73cd07e840d696a42b1aaf6450a810d87 (diff) |
Shard skylark_repository_test
Also test_build_repo set-up that starts failing with sharding
--
Change-Id: I9b950f1569737c52f9a4608eaad68db01f30ac82
Reviewed-on: https://cr.bazel.build/8144
PiperOrigin-RevId: 144631720
MOS_MIGRATED_REVID=144631720
Diffstat (limited to 'src')
-rw-r--r-- | src/test/shell/bazel/BUILD | 1 | ||||
-rwxr-xr-x | src/test/shell/bazel/skylark_repository_test.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/test/shell/bazel/BUILD b/src/test/shell/bazel/BUILD index cb0dc41d90..50416b5483 100644 --- a/src/test/shell/bazel/BUILD +++ b/src/test/shell/bazel/BUILD @@ -236,6 +236,7 @@ sh_test( size = "large", srcs = ["skylark_repository_test.sh"], data = [":test-deps"], + shard_count = 3, ) sh_test( diff --git a/src/test/shell/bazel/skylark_repository_test.sh b/src/test/shell/bazel/skylark_repository_test.sh index 43b0a88498..58151d19d4 100755 --- a/src/test/shell/bazel/skylark_repository_test.sh +++ b/src/test/shell/bazel/skylark_repository_test.sh @@ -695,6 +695,7 @@ def _impl(repository_ctx): my_repo = repository_rule(_impl) EOF + touch BUILD bazel build //external:reg &> $TEST_log || fail "Couldn't build repo" } |