From 355d66d9660286f831b7518da5f8737a9496d577 Mon Sep 17 00:00:00 2001 From: Weizhen Wang Date: Thu, 9 Jun 2022 10:22:30 +0800 Subject: [PATCH] *: enable more flaky test (#35227) ref pingcap/tidb#31716 --- planner/core/BUILD.bazel | 2 ++ util/watcher/BUILD.bazel | 1 + 2 files changed, 3 insertions(+) diff --git a/planner/core/BUILD.bazel b/planner/core/BUILD.bazel index 3400d221d181e..bd9365c65018a 100644 --- a/planner/core/BUILD.bazel +++ b/planner/core/BUILD.bazel @@ -187,6 +187,8 @@ go_test( ], data = glob(["testdata/**"]), embed = [":core"], + flaky = True, + shard_count = 50, deps = [ "//config", "//ddl", diff --git a/util/watcher/BUILD.bazel b/util/watcher/BUILD.bazel index c1b3d59addac4..124a0c08436b5 100644 --- a/util/watcher/BUILD.bazel +++ b/util/watcher/BUILD.bazel @@ -18,5 +18,6 @@ go_test( name = "watcher_test", srcs = ["watcher_test.go"], embed = [":watcher"], + flaky = True, deps = ["@com_github_stretchr_testify//require"], )