From 4aa4f33125e19dc9f118c1ac334c7714d2be2252 Mon Sep 17 00:00:00 2001 From: Derek Mauro Date: Mon, 8 May 2023 10:53:05 -0700 Subject: For Bazel builds, mark some of the low-level tests that are dependent on timing as flaky. This will run them up to 3 times (in the default configuration) and only consider the test failed if it fails each time. PiperOrigin-RevId: 530348477 Change-Id: Ib77bd8a166828b82a1b49ee5ef2e8321752e51d0 --- absl/synchronization/BUILD.bazel | 2 ++ 1 file changed, 2 insertions(+) (limited to 'absl/synchronization') diff --git a/absl/synchronization/BUILD.bazel b/absl/synchronization/BUILD.bazel index a0cd433d..5074044e 100644 --- a/absl/synchronization/BUILD.bazel +++ b/absl/synchronization/BUILD.bazel @@ -238,6 +238,7 @@ cc_test( size = "large", srcs = ["mutex_test.cc"], copts = ABSL_TEST_COPTS, + flaky = 1, linkopts = ABSL_DEFAULT_LINKOPTS, shard_count = 25, deps = [ @@ -300,6 +301,7 @@ cc_test( size = "small", srcs = ["notification_test.cc"], copts = ABSL_TEST_COPTS, + flaky = 1, linkopts = ABSL_DEFAULT_LINKOPTS, tags = ["no_test_lexan"], deps = [ -- cgit v1.2.3