Skip to content

Commit

Permalink
*: upgrade bazel timeout (pingcap#36776)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkingrei authored Aug 2, 2022
1 parent 0b1d3e0 commit 5b4a82d
Show file tree
Hide file tree
Showing 112 changed files with 112 additions and 1 deletion.
1 change: 1 addition & 0 deletions bindinfo/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ go_library(

go_test(
name = "bindinfo_test",
timeout = "short",
srcs = [
"bind_cache_test.go",
"bind_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/cmd/br/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ go_binary(

go_test(
name = "br_test",
timeout = "short",
srcs = ["main_test.go"],
embed = [":br_lib"],
flaky = True,
Expand Down
1 change: 1 addition & 0 deletions br/cmd/tidb-lightning-ctl/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ go_binary(

go_test(
name = "tidb-lightning-ctl_test",
timeout = "short",
srcs = ["main_test.go"],
embed = [":tidb-lightning-ctl_lib"],
flaky = True,
Expand Down
1 change: 1 addition & 0 deletions br/cmd/tidb-lightning/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ go_binary(

go_test(
name = "tidb-lightning_test",
timeout = "short",
srcs = ["main_test.go"],
embed = [":tidb-lightning_lib"],
flaky = True,
Expand Down
1 change: 1 addition & 0 deletions br/pkg/backup/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ go_library(

go_test(
name = "backup_test",
timeout = "short",
srcs = [
"client_test.go",
"main_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/checksum/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ go_library(

go_test(
name = "checksum_test",
timeout = "short",
srcs = [
"executor_test.go",
"main_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/conn/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ go_library(

go_test(
name = "conn_test",
timeout = "short",
srcs = [
"conn_test.go",
"main_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/errors/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ go_library(

go_test(
name = "errors_test",
timeout = "short",
srcs = ["errors_test.go"],
flaky = True,
deps = [
Expand Down
1 change: 1 addition & 0 deletions br/pkg/glue/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ go_library(

go_test(
name = "glue_test",
timeout = "short",
srcs = ["console_glue_test.go"],
flaky = True,
deps = [
Expand Down
1 change: 1 addition & 0 deletions br/pkg/gluetikv/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ go_library(

go_test(
name = "gluetikv_test",
timeout = "short",
srcs = ["glue_test.go"],
embed = [":gluetikv"],
flaky = True,
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ go_library(

go_test(
name = "lightning_test",
timeout = "short",
srcs = [
"lightning_serial_test.go",
"lightning_server_serial_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/backend/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ go_library(

go_test(
name = "backend_test",
timeout = "short",
srcs = ["backend_test.go"],
flaky = True,
deps = [
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/backend/kv/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ go_library(

go_test(
name = "kv_test",
timeout = "short",
srcs = [
"session_test.go",
"sql2kv_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/backend/local/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ go_library(

go_test(
name = "local_test",
timeout = "short",
srcs = [
"engine_test.go",
"iterator_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/backend/tidb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ go_library(

go_test(
name = "tidb_test",
timeout = "short",
srcs = ["tidb_test.go"],
flaky = True,
deps = [
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/checkpoints/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ go_library(

go_test(
name = "checkpoints_test",
timeout = "short",
srcs = [
"checkpoints_file_test.go",
"checkpoints_sql_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/common/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ go_library(

go_test(
name = "common_test",
timeout = "short",
srcs = [
"errors_test.go",
"main_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/config/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ go_library(

go_test(
name = "config_test",
timeout = "short",
srcs = [
"bytesize_test.go",
"config_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/errormanager/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ go_library(

go_test(
name = "errormanager_test",
timeout = "short",
srcs = ["errormanager_test.go"],
embed = [":errormanager"],
flaky = True,
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/log/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ go_library(

go_test(
name = "log_test",
timeout = "short",
srcs = [
"filter_test.go",
"log_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/metric/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ go_library(

go_test(
name = "metric_test",
timeout = "short",
srcs = ["metric_test.go"],
flaky = True,
deps = [
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/mydump/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ go_library(

go_test(
name = "mydump_test",
timeout = "short",
srcs = [
"charset_convertor_test.go",
"csv_parser_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/restore/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ go_library(

go_test(
name = "restore_test",
timeout = "short",
srcs = [
"check_info_test.go",
"checksum_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/restore/mock/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ go_library(

go_test(
name = "mock_test",
timeout = "short",
srcs = ["mock_test.go"],
embed = [":mock"],
flaky = True,
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/tikv/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ go_library(

go_test(
name = "tikv_test",
timeout = "short",
srcs = ["tikv_test.go"],
flaky = True,
deps = [
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/verification/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ go_library(

go_test(
name = "verification_test",
timeout = "short",
srcs = ["checksum_test.go"],
flaky = True,
deps = [
Expand Down
1 change: 1 addition & 0 deletions br/pkg/lightning/worker/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ go_library(

go_test(
name = "worker_test",
timeout = "short",
srcs = ["worker_test.go"],
flaky = True,
deps = [
Expand Down
1 change: 1 addition & 0 deletions br/pkg/logutil/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ go_library(

go_test(
name = "logutil_test",
timeout = "short",
srcs = ["logging_test.go"],
flaky = True,
deps = [
Expand Down
1 change: 1 addition & 0 deletions br/pkg/membuf/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ go_library(

go_test(
name = "membuf_test",
timeout = "short",
srcs = ["buffer_test.go"],
embed = [":membuf"],
flaky = True,
Expand Down
1 change: 1 addition & 0 deletions br/pkg/metautil/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ go_library(

go_test(
name = "metautil_test",
timeout = "short",
srcs = [
"main_test.go",
"metafile_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/mock/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ go_library(

go_test(
name = "mock_test",
timeout = "short",
srcs = ["mock_cluster_test.go"],
flaky = True,
deps = [
Expand Down
1 change: 1 addition & 0 deletions br/pkg/pdutil/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ go_library(

go_test(
name = "pdutil_test",
timeout = "short",
srcs = [
"main_test.go",
"pd_serial_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/redact/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ go_library(

go_test(
name = "redact_test",
timeout = "short",
srcs = ["redact_test.go"],
flaky = True,
deps = [
Expand Down
1 change: 1 addition & 0 deletions br/pkg/restore/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ go_library(

go_test(
name = "restore_test",
timeout = "short",
srcs = [
"batcher_test.go",
"client_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/rtree/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ go_library(

go_test(
name = "rtree_test",
timeout = "short",
srcs = [
"logging_test.go",
"main_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/storage/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ go_library(

go_test(
name = "storage_test",
timeout = "short",
srcs = [
"azblob_test.go",
"compress_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/stream/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ go_library(

go_test(
name = "stream_test",
timeout = "short",
srcs = [
"decode_kv_test.go",
"meta_kv_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/streamhelper/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ go_library(

go_test(
name = "streamhelper_test",
timeout = "short",
srcs = [
"advancer_test.go",
"basic_lib_for_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/summary/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ go_library(

go_test(
name = "summary_test",
timeout = "short",
srcs = [
"collector_test.go",
"main_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/task/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ go_library(

go_test(
name = "task_test",
timeout = "short",
srcs = [
"backup_test.go",
"common_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/trace/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ go_library(

go_test(
name = "trace_test",
timeout = "short",
srcs = [
"main_test.go",
"tracing_serial_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/utils/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ go_library(

go_test(
name = "utils_test",
timeout = "short",
srcs = [
"backoff_test.go",
"db_test.go",
Expand Down
1 change: 1 addition & 0 deletions br/pkg/version/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ go_library(

go_test(
name = "version_test",
timeout = "short",
srcs = ["version_test.go"],
embed = [":version"],
flaky = True,
Expand Down
1 change: 1 addition & 0 deletions br/pkg/version/build/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ go_library(

go_test(
name = "build_test",
timeout = "short",
srcs = ["info_test.go"],
embed = [":build"],
flaky = True,
Expand Down
1 change: 1 addition & 0 deletions cmd/ddltest/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
name = "ddltest_test",
timeout = "short",
srcs = [
"column_test.go",
"ddl_test.go",
Expand Down
1 change: 1 addition & 0 deletions cmd/explaintest/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ go_binary(

go_test(
name = "explaintest_test",
timeout = "short",
srcs = ["main_test.go"],
data = ["//tidb-server:tidb-server-raw"],
embed = [":explaintest_lib"],
Expand Down
1 change: 1 addition & 0 deletions cmd/importer/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ go_binary(

go_test(
name = "importer_test",
timeout = "short",
srcs = ["db_test.go"],
embed = [":importer_lib"],
flaky = True,
Expand Down
1 change: 1 addition & 0 deletions config/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ go_library(

go_test(
name = "config_test",
timeout = "short",
srcs = [
"config_test.go",
"config_util_test.go",
Expand Down
2 changes: 1 addition & 1 deletion ddl/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ go_library(

go_test(
name = "ddl_test",
timeout = "short",
timeout = "moderate",
srcs = [
"attributes_sql_test.go",
"callback_test.go",
Expand Down
Loading

0 comments on commit 5b4a82d

Please sign in to comment.