Skip to content

Commit

Permalink
Shard skylark_repository_test
Browse files Browse the repository at this point in the history
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
  • Loading branch information
damienmg authored and vladmos committed Jan 17, 2017
1 parent 7f064ea commit 4d723c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/test/shell/bazel/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ sh_test(
size = "large",
srcs = ["skylark_repository_test.sh"],
data = [":test-deps"],
shard_count = 3,
)

sh_test(
Expand Down
1 change: 1 addition & 0 deletions src/test/shell/bazel/skylark_repository_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 4d723c7

Please sign in to comment.