diff options
author | Derek Mauro <dmauro@google.com> | 2023-05-02 08:04:45 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-05-02 08:05:35 -0700 |
commit | 502769bfc9de4e82c061c73679f10bc151b5aa08 (patch) | |
tree | 870517169c8315f4669476fc5c2349263ddeed56 /absl/synchronization | |
parent | 61cac1fabb3953830995eefe6a1cca4573033685 (diff) | |
download | abseil-502769bfc9de4e82c061c73679f10bc151b5aa08.tar.gz abseil-502769bfc9de4e82c061c73679f10bc151b5aa08.tar.bz2 abseil-502769bfc9de4e82c061c73679f10bc151b5aa08.zip |
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: 528785128
Change-Id: I4aa5b74aa3a6873c83f2a01734c679351b1cd5d0
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 406c5b85..a0cd433d 100644 --- a/absl/synchronization/BUILD.bazel +++ b/absl/synchronization/BUILD.bazel @@ -73,6 +73,7 @@ cc_test( name = "kernel_timeout_internal_test", srcs = ["internal/kernel_timeout_test.cc"], copts = ABSL_TEST_COPTS, + flaky = 1, linkopts = ABSL_DEFAULT_LINKOPTS, deps = [ ":kernel_timeout_internal", @@ -346,6 +347,7 @@ cc_test( name = "waiter_test", srcs = ["internal/waiter_test.cc"], copts = ABSL_TEST_COPTS, + flaky = 1, linkopts = ABSL_DEFAULT_LINKOPTS, deps = [ ":kernel_timeout_internal", |