Skip to content

Commit

Permalink
ddl: move foreign test to speed up ci (#39587)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazycs520 authored Dec 2, 2022
1 parent 0470fa3 commit 4293053
Show file tree
Hide file tree
Showing 4 changed files with 1,631 additions and 1,521 deletions.
29 changes: 29 additions & 0 deletions ddl/fktest/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
name = "fktest_test",
srcs = [
"foreign_key_test.go",
"main_test.go",
],
flaky = True,
shard_count = 4,
deps = [
"//config",
"//ddl",
"//domain",
"//infoschema",
"//meta",
"//meta/autoid",
"//parser/auth",
"//parser/model",
"//planner/core",
"//sessiontxn",
"//testkit",
"//testkit/testsetup",
"//util/dbterror",
"@com_github_stretchr_testify//require",
"@com_github_tikv_client_go_v2//tikv",
"@org_uber_go_goleak//:goleak",
],
)
Loading

0 comments on commit 4293053

Please sign in to comment.