forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
60 lines (58 loc) · 1.39 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "schematracker",
srcs = [
"checker.go",
"dm_tracker.go",
"info_store.go",
],
importpath = "github.com/pingcap/tidb/ddl/schematracker",
visibility = ["//visibility:public"],
deps = [
"//ddl",
"//ddl/syncer",
"//infoschema",
"//kv",
"//meta/autoid",
"//owner",
"//parser/ast",
"//parser/charset",
"//parser/model",
"//parser/mysql",
"//parser/types",
"//sessionctx",
"//sessionctx/variable",
"//statistics/handle",
"//store/mockstore",
"//table",
"//table/tables",
"//tidb-binlog/pump_client",
"//util/collate",
"//util/dbterror",
"@com_github_ngaut_pools//:pools",
"@com_github_pingcap_errors//:errors",
],
)
go_test(
name = "schematracker_test",
timeout = "short",
srcs = [
"dm_tracker_test.go",
"info_store_test.go",
],
embed = [":schematracker"],
flaky = True,
deps = [
"//executor",
"//infoschema",
"//meta/autoid",
"//parser",
"//parser/ast",
"//parser/model",
"//sessionctx",
"//util/chunk",
"//util/mock",
"//util/sqlexec",
"@com_github_stretchr_testify//require",
],
)