From 6e0c38a976ca4bbb6c5421cd10f6c16b5dd12ab4 Mon Sep 17 00:00:00 2001 From: Weizhen Wang Date: Thu, 9 Feb 2023 22:59:49 +0800 Subject: [PATCH] *: remove limit (#41242) * *: remove limit Signed-off-by: Weizhen Wang * *: remove limit Signed-off-by: Weizhen Wang * *: remove limit Signed-off-by: Weizhen Wang --------- Signed-off-by: Weizhen Wang --- Makefile | 8 ++++---- sessiontxn/BUILD.bazel | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 3254d88aab401..99df487fcfcef 100644 --- a/Makefile +++ b/Makefile @@ -410,20 +410,20 @@ bazel_test: failpoint-enable bazel_ci_prepare bazel_coverage_test: failpoint-enable bazel_ci_prepare - bazel $(BAZEL_GLOBAL_CONFIG) --nohome_rc coverage $(BAZEL_CMD_CONFIG) --local_ram_resources=30720 --jobs=25 \ + bazel $(BAZEL_GLOBAL_CONFIG) coverage $(BAZEL_CMD_CONFIG) \ --@io_bazel_rules_go//go/config:cover_format=go_cover --define gotags=deadlock,intest \ -- //... -//cmd/... -//tests/graceshutdown/... \ -//tests/globalkilltest/... -//tests/readonlytest/... -//br/pkg/task:task_test -//tests/realtikvtest/... - bazel $(BAZEL_GLOBAL_CONFIG) --nohome_rc coverage $(BAZEL_CMD_CONFIG) --local_ram_resources=30720 --jobs=25 \ + bazel $(BAZEL_GLOBAL_CONFIG) coverage $(BAZEL_CMD_CONFIG) \ --@io_bazel_rules_go//go/config:cover_format=go_cover --define gotags=deadlock,intest,distributereorg \ -- //... -//cmd/... -//tests/graceshutdown/... \ -//tests/globalkilltest/... -//tests/readonlytest/... -//br/pkg/task:task_test -//tests/realtikvtest/... bazel_build: bazel_ci_prepare mkdir -p bin - bazel $(BAZEL_GLOBAL_CONFIG) --nohome_rc build $(BAZEL_CMD_CONFIG) --local_ram_resources=61440 --jobs=25 \ + bazel $(BAZEL_GLOBAL_CONFIG) build $(BAZEL_CMD_CONFIG) \ //... --//build:with_nogo_flag=true - bazel $(BAZEL_GLOBAL_CONFIG) --nohome_rc build $(BAZEL_CMD_CONFIG) \ + bazel $(BAZEL_GLOBAL_CONFIG) build $(BAZEL_CMD_CONFIG) \ //cmd/importer:importer //tidb-server:tidb-server //tidb-server:tidb-server-check --//build:with_nogo_flag=true cp bazel-out/k8-fastbuild/bin/tidb-server/tidb-server_/tidb-server ./bin cp bazel-out/k8-fastbuild/bin/cmd/importer/importer_/importer ./bin diff --git a/sessiontxn/BUILD.bazel b/sessiontxn/BUILD.bazel index a92e5a81dd92e..4691bfa4ff3af 100644 --- a/sessiontxn/BUILD.bazel +++ b/sessiontxn/BUILD.bazel @@ -20,7 +20,7 @@ go_library( go_test( name = "sessiontxn_test", - timeout = "short", + timeout = "moderate", srcs = [ "txn_context_test.go", "txn_manager_test.go", @@ -28,7 +28,7 @@ go_test( ], flaky = True, race = "on", - shard_count = 2, + shard_count = 50, deps = [ ":sessiontxn", "//domain",