73 lines
2.3 KiB
Python
73 lines
2.3 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_test(
|
|
name = "tests_test",
|
|
timeout = "short",
|
|
srcs = [
|
|
"dxf_test.go",
|
|
"http_handler_serial_test.go",
|
|
"http_handler_test.go",
|
|
"main_test.go",
|
|
],
|
|
flaky = True,
|
|
shard_count = 43,
|
|
deps = [
|
|
"//pkg/config",
|
|
"//pkg/config/kerneltype",
|
|
"//pkg/ddl",
|
|
"//pkg/ddl/util",
|
|
"//pkg/domain",
|
|
"//pkg/domain/infosync",
|
|
"//pkg/domain/serverinfo",
|
|
"//pkg/dxf/framework/proto",
|
|
"//pkg/dxf/framework/schstatus",
|
|
"//pkg/dxf/framework/storage",
|
|
"//pkg/executor/mppcoordmanager",
|
|
"//pkg/infoschema",
|
|
"//pkg/kv",
|
|
"//pkg/meta",
|
|
"//pkg/meta/model",
|
|
"//pkg/metrics",
|
|
"//pkg/parser/ast",
|
|
"//pkg/parser/mysql",
|
|
"//pkg/planner/util/coretestsdk",
|
|
"//pkg/server",
|
|
"//pkg/server/handler",
|
|
"//pkg/server/handler/optimizor",
|
|
"//pkg/server/handler/tikvhandler",
|
|
"//pkg/server/internal/testserverclient",
|
|
"//pkg/server/internal/testutil",
|
|
"//pkg/server/internal/util",
|
|
"//pkg/session",
|
|
"//pkg/sessionctx",
|
|
"//pkg/sessionctx/stmtctx",
|
|
"//pkg/sessionctx/vardef",
|
|
"//pkg/statistics/handle/ddl/testutil",
|
|
"//pkg/store/helper",
|
|
"//pkg/store/mockstore/teststore",
|
|
"//pkg/store/mockstore/unistore",
|
|
"//pkg/tablecodec",
|
|
"//pkg/testkit",
|
|
"//pkg/testkit/external",
|
|
"//pkg/testkit/testfailpoint",
|
|
"//pkg/testkit/testsetup",
|
|
"//pkg/types",
|
|
"//pkg/util/codec",
|
|
"//pkg/util/deadlockhistory",
|
|
"//pkg/util/rowcodec",
|
|
"//pkg/util/topsql/state",
|
|
"//pkg/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",
|
|
"@com_github_tikv_client_go_v2//util",
|
|
"@com_github_tikv_pd_client//clients/gc",
|
|
"@io_etcd_go_etcd_tests_v3//integration",
|
|
"@org_uber_go_goleak//:goleak",
|
|
"@org_uber_go_zap//:zap",
|
|
],
|
|
)
|