23 lines
498 B
Python
23 lines
498 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_test(
|
|
name = "memtest_test",
|
|
timeout = "short",
|
|
srcs = [
|
|
"main_test.go",
|
|
"mem_test.go",
|
|
],
|
|
flaky = True,
|
|
race = "on",
|
|
shard_count = 2,
|
|
deps = [
|
|
"//pkg/config",
|
|
"//pkg/meta/autoid",
|
|
"//pkg/testkit",
|
|
"//pkg/util/memory",
|
|
"@com_github_stretchr_testify//require",
|
|
"@com_github_tikv_client_go_v2//tikv",
|
|
"@org_uber_go_goleak//:goleak",
|
|
],
|
|
)
|