Skip to content

Commit

Permalink
Merge #120066
Browse files Browse the repository at this point in the history
120066: logictest: for sqlite logic tests, run only on `default` pool r=rail a=rickystewart

These tests don't actually run on remote execution so they never need
more resources than by default. If that changes, we can undo this
change.

Epic: [CRDB-8308](https://cockroachlabs.atlassian.net/browse/CRDB-8308)
Release note: None

Co-authored-by: Ricky Stewart <[email protected]>
  • Loading branch information
craig[bot] and rickystewart committed Mar 8, 2024
2 parents 1bc2f71 + 62b4a8c commit 559994e
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 38 deletions.
2 changes: 1 addition & 1 deletion pkg/ccl/sqlitelogictestccl/tests/3node-tenant/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ go_test(
"//c-deps:libgeos", # keep
"@com_github_cockroachdb_sqllogictest//:testfiles", # keep
],
exec_properties = {"test.Pool": "large"},
exec_properties = {"test.Pool": "default"},
shard_count = 48,
tags = [
"ccl_test",
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/generate-logictest/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ go_test(
"//pkg/sql/logictest:testdata", # keep{{ end }}{{ if .ExecBuildLogicTest }}
"//pkg/sql/opt/exec/execbuilder:testdata", # keep{{ end }}
],
exec_properties = {{ if .UseHeavyPool }}select({
exec_properties = {{ if .SqliteLogicTest }}{"test.Pool": "default"},{{ else if .UseHeavyPool }}select({
"//build/toolchains:is_heavy": {"test.Pool": "heavy"},
"//conditions:default": {"test.Pool": "large"},
}),{{ else }}{"test.Pool": "large"},{{ end }}
Expand Down
5 changes: 1 addition & 4 deletions pkg/sql/sqlitelogictest/tests/fakedist-disk/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ go_test(
"//c-deps:libgeos", # keep
"@com_github_cockroachdb_sqllogictest//:testfiles", # keep
],
exec_properties = select({
"//build/toolchains:is_heavy": {"test.Pool": "heavy"},
"//conditions:default": {"test.Pool": "large"},
}),
exec_properties = {"test.Pool": "default"},
shard_count = 48,
tags = [
"cpu:2",
Expand Down
5 changes: 1 addition & 4 deletions pkg/sql/sqlitelogictest/tests/fakedist-vec-off/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ go_test(
"//c-deps:libgeos", # keep
"@com_github_cockroachdb_sqllogictest//:testfiles", # keep
],
exec_properties = select({
"//build/toolchains:is_heavy": {"test.Pool": "heavy"},
"//conditions:default": {"test.Pool": "large"},
}),
exec_properties = {"test.Pool": "default"},
shard_count = 48,
tags = [
"cpu:2",
Expand Down
5 changes: 1 addition & 4 deletions pkg/sql/sqlitelogictest/tests/fakedist/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ go_test(
"//c-deps:libgeos", # keep
"@com_github_cockroachdb_sqllogictest//:testfiles", # keep
],
exec_properties = select({
"//build/toolchains:is_heavy": {"test.Pool": "heavy"},
"//conditions:default": {"test.Pool": "large"},
}),
exec_properties = {"test.Pool": "default"},
shard_count = 48,
tags = [
"cpu:2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ go_test(
"//c-deps:libgeos", # keep
"@com_github_cockroachdb_sqllogictest//:testfiles", # keep
],
exec_properties = select({
"//build/toolchains:is_heavy": {"test.Pool": "heavy"},
"//conditions:default": {"test.Pool": "large"},
}),
exec_properties = {"test.Pool": "default"},
shard_count = 48,
tags = [
"cpu:1",
Expand Down
5 changes: 1 addition & 4 deletions pkg/sql/sqlitelogictest/tests/local-mixed-23.1/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ go_test(
"//c-deps:libgeos", # keep
"@com_github_cockroachdb_sqllogictest//:testfiles", # keep
],
exec_properties = select({
"//build/toolchains:is_heavy": {"test.Pool": "heavy"},
"//conditions:default": {"test.Pool": "large"},
}),
exec_properties = {"test.Pool": "default"},
shard_count = 48,
tags = [
"cpu:1",
Expand Down
5 changes: 1 addition & 4 deletions pkg/sql/sqlitelogictest/tests/local-mixed-23.2/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ go_test(
"//c-deps:libgeos", # keep
"@com_github_cockroachdb_sqllogictest//:testfiles", # keep
],
exec_properties = select({
"//build/toolchains:is_heavy": {"test.Pool": "heavy"},
"//conditions:default": {"test.Pool": "large"},
}),
exec_properties = {"test.Pool": "default"},
shard_count = 48,
tags = [
"cpu:1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ go_test(
"//c-deps:libgeos", # keep
"@com_github_cockroachdb_sqllogictest//:testfiles", # keep
],
exec_properties = select({
"//build/toolchains:is_heavy": {"test.Pool": "heavy"},
"//conditions:default": {"test.Pool": "large"},
}),
exec_properties = {"test.Pool": "default"},
shard_count = 48,
tags = [
"cpu:1",
Expand Down
5 changes: 1 addition & 4 deletions pkg/sql/sqlitelogictest/tests/local-vec-off/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ go_test(
"//c-deps:libgeos", # keep
"@com_github_cockroachdb_sqllogictest//:testfiles", # keep
],
exec_properties = select({
"//build/toolchains:is_heavy": {"test.Pool": "heavy"},
"//conditions:default": {"test.Pool": "large"},
}),
exec_properties = {"test.Pool": "default"},
shard_count = 48,
tags = [
"cpu:1",
Expand Down
5 changes: 1 addition & 4 deletions pkg/sql/sqlitelogictest/tests/local/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ go_test(
"//c-deps:libgeos", # keep
"@com_github_cockroachdb_sqllogictest//:testfiles", # keep
],
exec_properties = select({
"//build/toolchains:is_heavy": {"test.Pool": "heavy"},
"//conditions:default": {"test.Pool": "large"},
}),
exec_properties = {"test.Pool": "default"},
shard_count = 48,
tags = [
"cpu:1",
Expand Down

0 comments on commit 559994e

Please sign in to comment.