26 lines
644 B
Python
26 lines
644 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_test(
|
|
name = "aggregate_test",
|
|
timeout = "short",
|
|
srcs = [
|
|
"aggregate_test.go",
|
|
"main_test.go",
|
|
],
|
|
data = glob(["testdata/**"]),
|
|
flaky = True,
|
|
shard_count = 7,
|
|
deps = [
|
|
"//pkg/config",
|
|
"//pkg/executor/aggregate",
|
|
"//pkg/session",
|
|
"//pkg/testkit",
|
|
"//pkg/testkit/testsetup",
|
|
"//pkg/util/sqlexec",
|
|
"@com_github_pingcap_errors//:errors",
|
|
"@com_github_pingcap_failpoint//:failpoint",
|
|
"@com_github_stretchr_testify//require",
|
|
"@org_uber_go_goleak//:goleak",
|
|
],
|
|
)
|