Skip to content

Commit

Permalink
multiregionccl: move regional_by_row_test to multiregionccl
Browse files Browse the repository at this point in the history
This previously lived in partitionccl, but we have a new home for it
now.
Release note: None
  • Loading branch information
otan committed Feb 18, 2021
1 parent aea08fb commit 9a6b6be
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
1 change: 1 addition & 0 deletions pkg/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ALL_TESTS = [
"//pkg/ccl/kvccl/kvfollowerreadsccl:kvfollowerreadsccl_test",
"//pkg/ccl/kvccl/kvtenantccl:kvtenantccl_test",
"//pkg/ccl/logictestccl:logictestccl_test",
"//pkg/ccl/multiregionccl:multiregionccl_test",
"//pkg/ccl/oidcccl:oidcccl_test",
"//pkg/ccl/partitionccl:partitionccl_test",
"//pkg/ccl/serverccl:serverccl_test",
Expand Down
13 changes: 13 additions & 0 deletions pkg/ccl/multiregionccl/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,32 @@ go_test(
name = "multiregionccl_test",
srcs = [
"main_test.go",
"regional_by_row_test.go",
"show_test.go",
],
deps = [
"//pkg/base",
"//pkg/ccl/partitionccl",
"//pkg/ccl/utilccl",
"//pkg/jobs",
"//pkg/keys",
"//pkg/roachpb",
"//pkg/security",
"//pkg/security/securitytest",
"//pkg/server",
"//pkg/sql",
"//pkg/sql/catalog/catalogkv",
"//pkg/sql/execinfra",
"//pkg/sql/sqltestutils",
"//pkg/sql/tests",
"//pkg/testutils",
"//pkg/testutils/serverutils",
"//pkg/testutils/testcluster",
"//pkg/util",
"//pkg/util/leaktest",
"//pkg/util/log",
"//pkg/util/randutil",
"@com_github_cockroachdb_errors//:errors",
"@com_github_stretchr_testify//require",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
// https://github.com/cockroachdb/cockroach/blob/master/licenses/CCL.txt

package partitionccl_test
package multiregionccl_test

import (
"context"
Expand All @@ -32,7 +32,7 @@ import (
"github.com/stretchr/testify/require"
)

// REGIONAL BY ROW tests are defined in partitionccl as REGIONAL BY ROW
// REGIONAL BY ROW tests are defined in multiregionccl as REGIONAL BY ROW
// requires CCL to operate.

// TestAlterTableLocalityRegionalByRowError tests an alteration involving
Expand Down
6 changes: 0 additions & 6 deletions pkg/ccl/partitionccl/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ go_test(
"drop_test.go",
"main_test.go",
"partition_test.go",
"regional_by_row_test.go",
"zone_test.go",
],
embed = [":partitionccl"],
Expand All @@ -43,7 +42,6 @@ go_test(
"//pkg/ccl/utilccl",
"//pkg/config",
"//pkg/config/zonepb",
"//pkg/jobs",
"//pkg/keys",
"//pkg/kv/kvserver",
"//pkg/roachpb",
Expand All @@ -55,20 +53,17 @@ go_test(
"//pkg/sql/catalog/catalogkv",
"//pkg/sql/catalog/descpb",
"//pkg/sql/catalog/tabledesc",
"//pkg/sql/execinfra",
"//pkg/sql/gcjob",
"//pkg/sql/parser",
"//pkg/sql/rowenc",
"//pkg/sql/sem/tree",
"//pkg/sql/sqltestutils",
"//pkg/sql/tests",
"//pkg/sql/types",
"//pkg/testutils",
"//pkg/testutils/serverutils",
"//pkg/testutils/skip",
"//pkg/testutils/sqlutils",
"//pkg/testutils/testcluster",
"//pkg/util",
"//pkg/util/encoding",
"//pkg/util/hlc",
"//pkg/util/leaktest",
Expand All @@ -78,7 +73,6 @@ go_test(
"//pkg/util/uuid",
"@com_github_cockroachdb_errors//:errors",
"@com_github_gogo_protobuf//proto",
"@com_github_stretchr_testify//require",
"@in_gopkg_yaml_v2//:yaml_v2",
],
)

0 comments on commit 9a6b6be

Please sign in to comment.