Skip to content

Commit

Permalink
Shard bazel_module_test and py_test
Browse files Browse the repository at this point in the history
Try to avoid
```
//src/test/py/bazel:bazel_module_test                                  TIMEOUT in 3
out of 3 in 900.1s
//src/test/py/bazel:py_test                                             TIMEOUT in 3 out of 3 in 300.1s
```
in Bazel postsubmit

PiperOrigin-RevId: 519149009
Change-Id: I7a761f85fdf1e2622571b6547686225297091d5a
  • Loading branch information
meteorcloudy authored and copybara-github committed Mar 24, 2023
1 parent 27a16f7 commit 33d2dc9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/py/bazel/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ py_test(
name = "py_test",
size = "medium",
srcs = ["py_test.py"],
shard_count = 5,
deps = [":test_base"],
)

Expand Down Expand Up @@ -267,6 +268,7 @@ py_test(
name = "bazel_module_test",
size = "large",
srcs = ["bzlmod/bazel_module_test.py"],
shard_count = 5,
tags = [
"requires-network",
],
Expand Down

0 comments on commit 33d2dc9

Please sign in to comment.