Skip to content

Commit

Permalink
Fix bazel files.
Browse files Browse the repository at this point in the history
  • Loading branch information
wddevries committed Jan 9, 2025
1 parent 67f1fc1 commit e2d5931
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions pkg/executor/test/executor/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ go_test(
"//pkg/ddl",
"//pkg/domain",
"//pkg/domain/infosync",
"//pkg/errno",
"//pkg/executor",
"//pkg/executor/internal/exec",
"//pkg/expression",
Expand Down
2 changes: 1 addition & 1 deletion pkg/executor/test/simpletest/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ go_test(
shard_count = 11,
deps = [
"//pkg/config",
"//pkg/errno",
"//pkg/parser/ast",
"//pkg/parser/auth",
"//pkg/parser/mysql",
"//pkg/parser/terror",
"//pkg/server",
"//pkg/session",
Expand Down
2 changes: 1 addition & 1 deletion pkg/kv/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ go_test(
flaky = True,
shard_count = 23,
deps = [
"//pkg/errno",
"//pkg/meta/model",
"//pkg/parser/mysql",
"//pkg/parser/terror",
"//pkg/sessionctx/stmtctx",
"//pkg/testkit/testsetup",
Expand Down
5 changes: 4 additions & 1 deletion pkg/parser/mysql/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@ go_test(
embed = [":mysql"],
flaky = True,
shard_count = 9,
deps = ["@com_github_stretchr_testify//require"],
deps = [
"//pkg/errno",
"@com_github_stretchr_testify//require",
],
)
1 change: 1 addition & 0 deletions pkg/server/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ go_test(
"//pkg/config",
"//pkg/domain",
"//pkg/domain/infosync",
"//pkg/errno",
"//pkg/expression",
"//pkg/extension",
"//pkg/keyspace",
Expand Down
1 change: 1 addition & 0 deletions pkg/sessionctx/variable/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ go_test(
shard_count = 50,
deps = [
"//pkg/config",
"//pkg/errno",
"//pkg/kv",
"//pkg/parser",
"//pkg/parser/auth",
Expand Down
2 changes: 1 addition & 1 deletion pkg/structure/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ go_test(
flaky = True,
shard_count = 4,
deps = [
"//pkg/errno",
"//pkg/kv",
"//pkg/parser/mysql",
"//pkg/parser/terror",
"//pkg/testkit",
"//pkg/testkit/testsetup",
Expand Down
1 change: 1 addition & 0 deletions pkg/tablecodec/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ go_test(
flaky = True,
shard_count = 23,
deps = [
"//pkg/errno",
"//pkg/kv",
"//pkg/parser/mysql",
"//pkg/parser/terror",
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/dbterror/plannererrors/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ go_test(
embed = [":plannererrors"],
flaky = True,
deps = [
"//pkg/parser/mysql",
"//pkg/errno",
"//pkg/parser/terror",
"@com_github_stretchr_testify//require",
],
Expand Down
1 change: 0 additions & 1 deletion tests/realtikvtest/pessimistictest/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ go_test(
"//pkg/parser",
"//pkg/parser/ast",
"//pkg/parser/auth",
"//pkg/parser/mysql",
"//pkg/parser/terror",
"//pkg/session",
"//pkg/sessionctx/variable",
Expand Down

0 comments on commit e2d5931

Please sign in to comment.