29 lines
682 B
Python
29 lines
682 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_test(
|
|
name = "variable_test",
|
|
timeout = "short",
|
|
srcs = [
|
|
"main_test.go",
|
|
"variable_test.go",
|
|
],
|
|
flaky = True,
|
|
shard_count = 22,
|
|
deps = [
|
|
"//config",
|
|
"//kv",
|
|
"//parser/terror",
|
|
"//session",
|
|
"//sessionctx/variable",
|
|
"//store/copr",
|
|
"//testkit",
|
|
"//testkit/testmain",
|
|
"//testkit/testsetup",
|
|
"//util/memory",
|
|
"@com_github_pingcap_failpoint//:failpoint",
|
|
"@com_github_stretchr_testify//require",
|
|
"@com_github_tikv_client_go_v2//tikv",
|
|
"@org_uber_go_goleak//:goleak",
|
|
],
|
|
)
|