summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2023-05-08 10:53:05 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2023-05-08 10:53:56 -0700
commit4aa4f33125e19dc9f118c1ac334c7714d2be2252 (patch)
tree6924473ad6d00e82cbdae11e2da818602be5190b /absl
parent2662ae4a293b8bb866eba4567323e0a4d34eb2f0 (diff)
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
Diffstat (limited to 'absl')
-rw-r--r--absl/synchronization/BUILD.bazel2
1 files changed, 2 insertions, 0 deletions
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 = [