29 lines
839 B
Python
29 lines
839 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
|
|
go_test(
|
|
name = "framework_test",
|
|
timeout = "short",
|
|
srcs = [
|
|
"framework_dynamic_dispatch_test.go",
|
|
"framework_err_handling_test.go",
|
|
"framework_ha_test.go",
|
|
"framework_pause_and_resume_test.go",
|
|
"framework_rollback_test.go",
|
|
"framework_test.go",
|
|
],
|
|
flaky = True,
|
|
race = "off",
|
|
shard_count = 32,
|
|
deps = [
|
|
"//pkg/disttask/framework/dispatcher",
|
|
"//pkg/disttask/framework/handle",
|
|
"//pkg/disttask/framework/proto",
|
|
"//pkg/disttask/framework/scheduler",
|
|
"//pkg/disttask/framework/storage",
|
|
"//pkg/disttask/framework/testutil",
|
|
"//pkg/testkit",
|
|
"@com_github_pingcap_failpoint//:failpoint",
|
|
"@com_github_stretchr_testify//require",
|
|
],
|
|
)
|