Commit 92a82ad 1 parent 0bd7179 commit 92a82ad Copy full SHA for 92a82ad
File tree 6 files changed +11
-1
lines changed
6 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ go_library(
35
35
36
36
go_test (
37
37
name = "cache_test" ,
38
+ timeout = "short" ,
38
39
srcs = [
39
40
"base_test.go" ,
40
41
"infoschema_test.go" ,
@@ -46,6 +47,7 @@ go_test(
46
47
],
47
48
embed = [":cache" ],
48
49
flaky = True ,
50
+ shard_count = 50 ,
49
51
deps = [
50
52
"//infoschema" ,
51
53
"//kv" ,
Original file line number Diff line number Diff line change @@ -20,8 +20,10 @@ go_library(
20
20
21
21
go_test (
22
22
name = "client_test" ,
23
+ timeout = "short" ,
23
24
srcs = ["command_test.go" ],
24
25
embed = [":client" ],
26
+ shard_count = 5 ,
25
27
deps = [
26
28
"@com_github_pingcap_errors//:errors" ,
27
29
"@com_github_stretchr_testify//require" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ go_library(
13
13
14
14
go_test (
15
15
name = "metrics_test" ,
16
+ timeout = "short" ,
16
17
srcs = ["metrics_test.go" ],
17
18
embed = [":metrics" ],
19
+ shard_count = 5 ,
18
20
deps = ["@com_github_stretchr_testify//require" ],
19
21
)
Original file line number Diff line number Diff line change @@ -21,12 +21,14 @@ go_library(
21
21
22
22
go_test (
23
23
name = "session_test" ,
24
+ timeout = "short" ,
24
25
srcs = [
25
26
"main_test.go" ,
26
27
"session_test.go" ,
27
28
"sysvar_test.go" ,
28
29
],
29
30
flaky = True ,
31
+ shard_count = 5 ,
30
32
deps = [
31
33
":session" ,
32
34
"//sessionctx/variable" ,
Original file line number Diff line number Diff line change @@ -19,11 +19,13 @@ go_library(
19
19
20
20
go_test (
21
21
name = "sqlbuilder_test" ,
22
+ timeout = "short" ,
22
23
srcs = [
23
24
"main_test.go" ,
24
25
"sql_test.go" ,
25
26
],
26
27
flaky = True ,
28
+ shard_count = 5 ,
27
29
deps = [
28
30
":sqlbuilder" ,
29
31
"//kv" ,
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ go_library(
44
44
45
45
go_test (
46
46
name = "ttlworker_test" ,
47
- timeout = "long " ,
47
+ timeout = "moderate " ,
48
48
srcs = [
49
49
"del_test.go" ,
50
50
"job_manager_integration_test.go" ,
You can’t perform that action at this time.
0 commit comments