File tree Expand file tree Collapse file tree 3 files changed +723
-0
lines changed Expand file tree Collapse file tree 3 files changed +723
-0
lines changed Original file line number Diff line number Diff line change
1
+ load ("@io_bazel_rules_go//go:def.bzl" , "go_test" )
2
+
3
+ go_test (
4
+ name = "cursor_test" ,
5
+ timeout = "short" ,
6
+ srcs = [
7
+ "cursor_test.go" ,
8
+ "main_test.go" ,
9
+ ],
10
+ flaky = True ,
11
+ shard_count = 9 ,
12
+ deps = [
13
+ "//pkg/config" ,
14
+ "//pkg/executor" ,
15
+ "//pkg/metrics" ,
16
+ "//pkg/parser/mysql" ,
17
+ "//pkg/server" ,
18
+ "//pkg/server/internal/util" ,
19
+ "//pkg/server/tests/servertestkit" ,
20
+ "//pkg/store/mockstore/unistore" ,
21
+ "//pkg/testkit" ,
22
+ "//pkg/testkit/testsetup" ,
23
+ "//pkg/util/topsql/state" ,
24
+ "@com_github_pingcap_failpoint//:failpoint" ,
25
+ "@com_github_stretchr_testify//require" ,
26
+ "@com_github_tikv_client_go_v2//tikv" ,
27
+ "@com_github_yangkeao_go_mysql_driver//:go-mysql-driver" ,
28
+ "@org_uber_go_goleak//:goleak" ,
29
+ ],
30
+ )
You can’t perform that action at this time.
0 commit comments