39 lines
1008 B
Python
39 lines
1008 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_test(
|
|
name = "analyzetest_test",
|
|
timeout = "short",
|
|
srcs = [
|
|
"analyze_bench_test.go",
|
|
"analyze_test.go",
|
|
"main_test.go",
|
|
],
|
|
flaky = True,
|
|
race = "on",
|
|
shard_count = 49,
|
|
deps = [
|
|
"//pkg/config",
|
|
"//pkg/domain",
|
|
"//pkg/domain/infosync",
|
|
"//pkg/errno",
|
|
"//pkg/executor",
|
|
"//pkg/infoschema",
|
|
"//pkg/kv",
|
|
"//pkg/parser/model",
|
|
"//pkg/parser/mysql",
|
|
"//pkg/parser/terror",
|
|
"//pkg/planner/core",
|
|
"//pkg/session",
|
|
"//pkg/sessionctx",
|
|
"//pkg/sessionctx/variable",
|
|
"//pkg/statistics",
|
|
"//pkg/testkit",
|
|
"//pkg/testkit/analyzehelper",
|
|
"//pkg/util/dbterror/exeerrors",
|
|
"@com_github_pingcap_errors//:errors",
|
|
"@com_github_pingcap_failpoint//:failpoint",
|
|
"@com_github_stretchr_testify//require",
|
|
"@org_uber_go_goleak//:goleak",
|
|
],
|
|
)
|