Files
tidb/pkg/server/tests/cursor/BUILD.bazel

29 lines
779 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_test")
go_test(
name = "cursor_test",
timeout = "short",
srcs = [
"cursor_test.go",
"main_test.go",
],
flaky = True,
shard_count = 8,
deps = [
"//pkg/config",
"//pkg/metrics",
"//pkg/parser/mysql",
"//pkg/server",
"//pkg/server/tests/servertestkit",
"//pkg/store/mockstore/unistore",
"//pkg/testkit",
"//pkg/testkit/testsetup",
"//pkg/util/topsql/state",
"@com_github_pingcap_failpoint//:failpoint",
"@com_github_stretchr_testify//require",
"@com_github_tikv_client_go_v2//tikv",
"@com_github_yangkeao_go_mysql_driver//:go-mysql-driver",
"@org_uber_go_goleak//:goleak",
],
)