Skip to content

Commit 1cbbccd

Browse files
committed
build: adjust shard counts for tests
These are long-running tests that could be sharded more, with the exception of pkg/storage/metamorphic which doesn't need to be sharded this much. Release note: none Epic: none
1 parent 6bd1246 commit 1cbbccd

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

pkg/ccl/crosscluster/physical/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ go_test(
121121
"//build/toolchains:is_heavy": {"test.Pool": "heavy"},
122122
"//conditions:default": {"test.Pool": "large"},
123123
}),
124-
shard_count = 16,
124+
shard_count = 32,
125125
deps = [
126126
"//pkg/base",
127127
"//pkg/ccl",

pkg/ccl/multiregionccl/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ go_test(
4444
"//build/toolchains:is_heavy": {"test.Pool": "heavy"},
4545
"//conditions:default": {"test.Pool": "large"},
4646
}),
47-
shard_count = 16,
47+
shard_count = 24,
4848
deps = [
4949
"//pkg/base",
5050
"//pkg/ccl",

pkg/sql/schemachanger/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ go_test(
3636
"//build/toolchains:is_heavy": {"test.Pool": "heavy"},
3737
"//conditions:default": {"test.Pool": "large"},
3838
}),
39-
shard_count = 32,
39+
shard_count = 48,
4040
deps = [
4141
"//pkg/base",
4242
"//pkg/jobs",

pkg/sql/stmtdiagnostics/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ go_test(
3232
"statement_diagnostics_test.go",
3333
],
3434
embed = [":stmtdiagnostics"],
35+
shard_count = 4,
3536
tags = ["no-remote-exec"],
3637
deps = [
3738
"//pkg/base",

pkg/storage/metamorphic/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ go_test(
4545
data = glob(["testdata/**"]),
4646
embed = [":metamorphic"],
4747
exec_properties = {"test.Pool": "large"},
48-
shard_count = 8,
4948
deps = [
5049
"//pkg/settings/cluster",
5150
"//pkg/testutils",

0 commit comments

Comments
 (0)