Files
tidb/server/handler/tests/BUILD.bazel

60 lines
1.6 KiB
Python

load("@io_bazel_rules_go//go:def.bzl", "go_test")
go_test(
name = "tests_test",
timeout = "short",
srcs = [
"http_handler_serial_test.go",
"http_handler_test.go",
"main_test.go",
],
flaky = True,
shard_count = 36,
deps = [
"//config",
"//ddl",
"//ddl/util",
"//domain",
"//infoschema",
"//kv",
"//meta",
"//metrics",
"//parser/model",
"//parser/mysql",
"//planner/core",
"//server",
"//server/handler",
"//server/handler/optimizor",
"//server/handler/tikvhandler",
"//server/internal/testserverclient",
"//server/internal/testutil",
"//server/internal/util",
"//session",
"//sessionctx",
"//sessionctx/binloginfo",
"//sessionctx/stmtctx",
"//sessionctx/variable",
"//store/helper",
"//store/mockstore",
"//store/mockstore/unistore",
"//tablecodec",
"//testkit",
"//testkit/external",
"//testkit/testsetup",
"//types",
"//util/codec",
"//util/deadlockhistory",
"//util/rowcodec",
"//util/topsql/state",
"//util/versioninfo",
"@com_github_pingcap_errors//:errors",
"@com_github_pingcap_failpoint//:failpoint",
"@com_github_pingcap_kvproto//pkg/kvrpcpb",
"@com_github_pingcap_log//:log",
"@com_github_stretchr_testify//require",
"@com_github_tikv_client_go_v2//tikv",
"@org_uber_go_goleak//:goleak",
"@org_uber_go_zap//:zap",
],
)