Skip to content

Commit

Permalink
This is an automated cherry-pick of pingcap#56609
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
  • Loading branch information
elsa0520 authored and ti-chi-bot committed Oct 16, 2024
1 parent 116ffee commit 0cb6214
Show file tree
Hide file tree
Showing 14 changed files with 9,010 additions and 13 deletions.
1,900 changes: 1,900 additions & 0 deletions pkg/planner/core/casetest/hint/testdata/integration_suite_out.json

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions pkg/planner/core/casetest/planstats/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
name = "planstats_test",
timeout = "short",
srcs = [
"main_test.go",
"plan_stats_test.go",
],
data = glob(["testdata/**"]),
flaky = True,
shard_count = 6,
deps = [
"//pkg/config",
"//pkg/domain",
"//pkg/executor",
"//pkg/meta/model",
"//pkg/parser",
"//pkg/parser/model",
"//pkg/planner",
"//pkg/planner/core",
"//pkg/planner/core/base",
"//pkg/planner/core/resolve",
"//pkg/sessionctx",
"//pkg/sessionctx/stmtctx",
"//pkg/statistics",
"//pkg/statistics/handle/types",
"//pkg/table",
"//pkg/testkit",
"//pkg/testkit/testdata",
"//pkg/testkit/testmain",
"//pkg/testkit/testsetup",
"@com_github_pingcap_failpoint//:failpoint",
"@com_github_stretchr_testify//require",
"@org_uber_go_goleak//:goleak",
],
)
Loading

0 comments on commit 0cb6214

Please sign in to comment.