Skip to content

Commit

Permalink
sql/tests: add "_test" suffix to file name
Browse files Browse the repository at this point in the history
The commit renames a test file, `virtual_cluster_name.go`, to match the
naming convention. I believe the test in the was being run in CI before,
despite the misnaming.

Release note: None
  • Loading branch information
mgartner committed Jan 19, 2024
1 parent f966213 commit 77c3dbf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/sql/tests/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ go_library(
"command_filters.go",
"data.go",
"explain_test_util.go",
"virtual_cluster_name.go",
],
importpath = "github.com/cockroachdb/cockroach/pkg/sql/tests",
visibility = ["//visibility:public"],
deps = [
"//pkg/base",
"//pkg/internal/sqlsmith",
"//pkg/kv",
"//pkg/kv/kvpb",
Expand All @@ -20,10 +18,7 @@ go_library(
"//pkg/sql/sem/tree",
"//pkg/storage",
"//pkg/testutils/serverutils",
"//pkg/testutils/sqlutils",
"//pkg/testutils/storageutils",
"//pkg/util/leaktest",
"//pkg/util/log",
"//pkg/util/syncutil",
"@com_github_cockroachdb_errors//:errors",
"@org_golang_x_text//cases",
Expand Down Expand Up @@ -62,6 +57,7 @@ go_test(
"table_split_test.go",
"tracing_sql_test.go",
"truncate_test.go",
"virtual_cluster_name_test.go",
"virtual_table_test.go",
],
data = glob(["testdata/**"]) + [
Expand Down
File renamed without changes.

0 comments on commit 77c3dbf

Please sign in to comment.