33 lines
1.0 KiB
Python
33 lines
1.0 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "testutil",
|
|
srcs = [
|
|
"context.go",
|
|
"disttest_util.go",
|
|
"executor_util.go",
|
|
"scheduler_util.go",
|
|
"table_util.go",
|
|
"task_util.go",
|
|
],
|
|
importpath = "github.com/pingcap/tidb/pkg/disttask/framework/testutil",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//pkg/disttask/framework/mock",
|
|
"//pkg/disttask/framework/mock/execute",
|
|
"//pkg/disttask/framework/proto",
|
|
"//pkg/disttask/framework/scheduler",
|
|
"//pkg/disttask/framework/scheduler/mock",
|
|
"//pkg/disttask/framework/storage",
|
|
"//pkg/disttask/framework/taskexecutor",
|
|
"//pkg/domain/infosync",
|
|
"//pkg/sessionctx",
|
|
"//pkg/testkit",
|
|
"@com_github_ngaut_pools//:pools",
|
|
"@com_github_pingcap_failpoint//:failpoint",
|
|
"@com_github_stretchr_testify//require",
|
|
"@com_github_tikv_client_go_v2//util",
|
|
"@org_uber_go_mock//gomock",
|
|
],
|
|
)
|