diff --git a/pkg/BUILD.bazel b/pkg/BUILD.bazel index a3f043071ac1..0e23ab96c1dd 100644 --- a/pkg/BUILD.bazel +++ b/pkg/BUILD.bazel @@ -189,7 +189,6 @@ ALL_TESTS = [ "//pkg/kv:kv_test", "//pkg/roachpb:roachpb_disallowed_imports_test", "//pkg/roachpb:roachpb_test", - "//pkg/roachpb:string_test", "//pkg/roachprod/cloud:cloud_test", "//pkg/roachprod/config:config_test", "//pkg/roachprod/install:install_test", diff --git a/pkg/roachpb/BUILD.bazel b/pkg/roachpb/BUILD.bazel index 375e0c334502..2841ccb9d328 100644 --- a/pkg/roachpb/BUILD.bazel +++ b/pkg/roachpb/BUILD.bazel @@ -1,5 +1,3 @@ -# gazelle:exclude string_test.go - load("@rules_proto//proto:defs.bzl", "proto_library") load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -80,6 +78,7 @@ go_test( "metadata_test.go", "replica_unavailable_error_test.go", "span_group_test.go", + "string_test.go", "tenant_test.go", "version_test.go", ], @@ -88,8 +87,10 @@ go_test( tags = ["no-remote"], deps = [ "//pkg/cli/exit", + "//pkg/keys", "//pkg/kv/kvserver/concurrency/lock", "//pkg/storage/enginepb", + "//pkg/testutils/echotest", "//pkg/testutils/zerofields", "//pkg/util", "//pkg/util/bitarray", @@ -120,27 +121,6 @@ go_test( ], ) -# keep -go_test( - name = "string_test", - size = "small", - srcs = ["string_test.go"], - data = glob(["testdata/**"]), - deps = [ - ":roachpb", # keep - "//pkg/cli/exit", - "//pkg/keys", - "//pkg/kv/kvserver/concurrency/lock", - "//pkg/storage/enginepb", - "//pkg/testutils/echotest", - "//pkg/util/hlc", - "//pkg/util/uuid", - "@com_github_cockroachdb_errors//:errors", - "@com_github_cockroachdb_redact//:redact", - "@com_github_stretchr_testify//require", - ], -) - proto_library( name = "roachpb_proto", srcs = [