diff options
author | Derek Mauro <dmauro@google.com> | 2023-05-08 10:53:05 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-05-08 10:53:56 -0700 |
commit | 4aa4f33125e19dc9f118c1ac334c7714d2be2252 (patch) | |
tree | 6924473ad6d00e82cbdae11e2da818602be5190b /absl/synchronization | |
parent | 2662ae4a293b8bb866eba4567323e0a4d34eb2f0 (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/synchronization')
-rw-r--r-- | absl/synchronization/BUILD.bazel | 2 |
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 = [ |