Skip to content

Commit

Permalink
*: update bazel
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Feb 14, 2023
1 parent 2fc7b9a commit a246115
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 86 deletions.
21 changes: 1 addition & 20 deletions session/nontransactionaltest/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
name = "nontransactional_test_test",
name = "nontransactionaltest_test",
timeout = "short",
srcs = [
"main_test.go",
Expand All @@ -21,22 +21,3 @@ go_test(
"@org_uber_go_goleak//:goleak",
],
)

go_test(
name = "nontransactionaltest_test",
srcs = [
"main_test.go",
"nontransactional_test.go",
],
deps = [
"//config",
"//testkit",
"//testkit/testmain",
"//testkit/testsetup",
"@com_github_pingcap_failpoint//:failpoint",
"@com_github_stretchr_testify//require",
"@com_github_tikv_client_go_v2//tikv",
"@com_github_tikv_client_go_v2//util",
"@org_uber_go_goleak//:goleak",
],
)
43 changes: 1 addition & 42 deletions session/sessiontest/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
name = "session_test",
name = "sessiontest_test",
timeout = "short",
srcs = [
"main_test.go",
Expand Down Expand Up @@ -43,44 +43,3 @@ go_test(
"@org_uber_go_goleak//:goleak",
],
)

go_test(
name = "sessiontest_test",
srcs = [
"main_test.go",
"session_test.go",
],
deps = [
"//config",
"//domain",
"//errno",
"//expression",
"//kv",
"//parser/ast",
"//parser/auth",
"//parser/format",
"//parser/model",
"//parser/mysql",
"//parser/terror",
"//planner/core",
"//privilege/privileges",
"//session",
"//sessionctx",
"//sessionctx/variable",
"//store/copr",
"//store/mockstore",
"//table/tables",
"//testkit",
"//testkit/testmain",
"//testkit/testsetup",
"//types",
"//util",
"//util/memory",
"//util/sqlexec",
"@com_github_pingcap_failpoint//:failpoint",
"@com_github_stretchr_testify//require",
"@com_github_tikv_client_go_v2//tikv",
"@com_github_tikv_client_go_v2//txnkv/transaction",
"@org_uber_go_goleak//:goleak",
],
)
25 changes: 1 addition & 24 deletions session/temporarytabletest/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
name = "temporarytable_test",
name = "temporarytabletest_test",
timeout = "short",
srcs = [
"main_test.go",
Expand All @@ -25,26 +25,3 @@ go_test(
"@org_uber_go_goleak//:goleak",
],
)

go_test(
name = "temporarytabletest_test",
srcs = [
"main_test.go",
"temporary_table_test.go",
],
deps = [
"//config",
"//domain",
"//errno",
"//kv",
"//parser/terror",
"//session",
"//sessionctx/variable",
"//testkit",
"//testkit/testmain",
"//testkit/testsetup",
"@com_github_stretchr_testify//require",
"@com_github_tikv_client_go_v2//tikv",
"@org_uber_go_goleak//:goleak",
],
)

0 comments on commit a246115

Please sign in to comment.