Skip to content

Commit

Permalink
tests: move more test cases in pkg/plan to integrationtest (#48877)
Browse files Browse the repository at this point in the history
ref #45961
  • Loading branch information
Defined2014 authored Nov 27, 2023
1 parent 2e277dc commit 6ead0ee
Show file tree
Hide file tree
Showing 42 changed files with 2,414 additions and 2,479 deletions.
2 changes: 0 additions & 2 deletions pkg/planner/core/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ go_test(
"preprocess_test.go",
"rule_generate_column_substitute_test.go",
"rule_join_reorder_dp_test.go",
"rule_join_reorder_test.go",
"runtime_filter_generator_test.go",
"stringer_test.go",
],
Expand All @@ -231,7 +230,6 @@ go_test(
deps = [
"//pkg/config",
"//pkg/domain",
"//pkg/errno",
"//pkg/expression",
"//pkg/expression/aggregation",
"//pkg/infoschema",
Expand Down
2 changes: 1 addition & 1 deletion pkg/planner/core/casetest/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ go_test(
],
data = glob(["testdata/**"]),
flaky = True,
shard_count = 21,
shard_count = 18,
deps = [
"//pkg/domain",
"//pkg/parser",
Expand Down
3 changes: 0 additions & 3 deletions pkg/planner/core/casetest/index/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ go_test(
],
data = glob(["testdata/**"]),
flaky = True,
shard_count = 14,
deps = [
"//pkg/sessionctx/variable",
"//pkg/testkit",
"//pkg/testkit/testdata",
"//pkg/testkit/testmain",
"//pkg/testkit/testsetup",
"//pkg/util",
"@com_github_stretchr_testify//require",
"@org_uber_go_goleak//:goleak",
],
)
Loading

0 comments on commit 6ead0ee

Please sign in to comment.