Skip to content

Commit

Permalink
build: fix test name and visibility in schema change test script
Browse files Browse the repository at this point in the history
The previous commit (3d36139) forgot to update the name of the test
in the script when it was renamed, and also forgot to update the bazel
visibility rules.

Release note: None
  • Loading branch information
rafiss committed Oct 27, 2023
1 parent 0531fc3 commit ea61823
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 441 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ BAZEL_BIN=$(bazel info bazel-bin --config=ci)
# Run schema changer comparator test.
$BAZEL_BIN/pkg/cmd/bazci/bazci_/bazci test -- --config=ci \
//pkg/sql/schemachanger:schemachanger_test \
--test_filter='^TestComparatorFromLogicTests' \
--test_filter='^TestSchemaChangeComparator' \
--test_env=GO_TEST_WRAP_TESTV=1 \
--test_env=GO_TEST_WRAP=1 \
--test_env=COCKROACH_SCHEMA_CHANGE_COMPARATOR_SKIP=false \
Expand Down
5 changes: 4 additions & 1 deletion pkg/sql/schemachanger/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ go_test(
name = "schemachanger_test",
size = "enormous",
srcs = [
"comparator_generated_test.go", # keep
"comparator_test.go",
"dml_injection_test.go",
"main_test.go",
Expand All @@ -34,7 +35,9 @@ go_test(
"//build/toolchains:use_ci_timeouts": ["-test.timeout=895s"],
"//conditions:default": ["-test.timeout=3595s"],
}),
data = glob(["testdata/**"]),
data = glob(["testdata/**"]) + [
"//pkg/sql/logictest:testdata",
],
exec_properties = {"Pool": "large"},
shard_count = 16,
deps = [
Expand Down
Loading

0 comments on commit ea61823

Please sign in to comment.