@@ -4,6 +4,7 @@ go_library(
4
4
name = "importer" ,
5
5
srcs = [
6
6
"chunk_process.go" ,
7
+ "cloud_sdk.go" ,
7
8
"engine_process.go" ,
8
9
"import.go" ,
9
10
"job.go" ,
@@ -91,6 +92,7 @@ go_test(
91
92
timeout = "short" ,
92
93
srcs = [
93
94
"chunk_process_testkit_test.go" ,
95
+ "cloud_sdk_test.go" ,
94
96
"import_test.go" ,
95
97
"importer_testkit_test.go" ,
96
98
"job_test.go" ,
@@ -102,7 +104,7 @@ go_test(
102
104
embed = [":importer" ],
103
105
flaky = True ,
104
106
race = "on" ,
105
- shard_count = 26 ,
107
+ shard_count = 36 ,
106
108
deps = [
107
109
"//br/pkg/errors" ,
108
110
"//br/pkg/mock" ,
@@ -149,6 +151,9 @@ go_test(
149
151
"//pkg/util/mock" ,
150
152
"//pkg/util/promutil" ,
151
153
"//pkg/util/syncutil" ,
154
+ "//pkg/util/table-filter" ,
155
+ "@com_github_data_dog_go_sqlmock//:go-sqlmock" ,
156
+ "@com_github_fsouza_fake_gcs_server//fakestorage" ,
152
157
"@com_github_google_uuid//:uuid" ,
153
158
"@com_github_johannesboyne_gofakes3//:gofakes3" ,
154
159
"@com_github_johannesboyne_gofakes3//backend/s3mem" ,
@@ -158,6 +163,7 @@ go_test(
158
163
"@com_github_pingcap_kvproto//pkg/metapb" ,
159
164
"@com_github_prometheus_client_golang//prometheus" ,
160
165
"@com_github_stretchr_testify//require" ,
166
+ "@com_github_stretchr_testify//suite" ,
161
167
"@com_github_tikv_client_go_v2//tikv" ,
162
168
"@com_github_tikv_client_go_v2//util" ,
163
169
"@com_github_tikv_pd_client//:client" ,
0 commit comments