25 lines
567 B
Python
25 lines
567 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_test(
|
|
name = "memorycontrol_test",
|
|
timeout = "short",
|
|
srcs = [
|
|
"main_test.go",
|
|
"memory_control_test.go",
|
|
],
|
|
flaky = True,
|
|
shard_count = 3,
|
|
deps = [
|
|
"//config",
|
|
"//executor",
|
|
"//sessionctx/variable",
|
|
"//statistics/handle",
|
|
"//testkit",
|
|
"//util",
|
|
"//util/memory",
|
|
"@com_github_pingcap_failpoint//:failpoint",
|
|
"@com_github_stretchr_testify//require",
|
|
"@org_uber_go_goleak//:goleak",
|
|
],
|
|
)
|