Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 4d21a3e

Browse files
authored
chore(ci): shard //internal/repos:repos_test (#64412)
See https://buildkite.com/organizations/sourcegraph/analytics/suites/sourcegraph-bazel/tests/d047e8dd-c849-8a8b-8925-41c2b8e58ec9?branch=main, this particular test target tends to timeout on occasions, because it goes over the `short` timeout. By sharding it, we could hope it would be more stable. So, time will tell if that was worth it. Right now, analytics shows that it goes down to 10s with four shards, which is faster that most runs. ## Test plan CI
1 parent f517373 commit 4d21a3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/repos/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ go_test(
144144
],
145145
data = glob(["testdata/**"]),
146146
embed = [":repos"],
147+
shard_count = 4,
147148
tags = [
148149
TAG_PLATFORM_SOURCE,
149150
# Test requires localhost database

0 commit comments

Comments
 (0)