Commit 502769bf by Derek Mauro Committed by Copybara-Service

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
parent 61cac1fa
...@@ -73,6 +73,7 @@ cc_test( ...@@ -73,6 +73,7 @@ cc_test(
name = "kernel_timeout_internal_test", name = "kernel_timeout_internal_test",
srcs = ["internal/kernel_timeout_test.cc"], srcs = ["internal/kernel_timeout_test.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
flaky = 1,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
":kernel_timeout_internal", ":kernel_timeout_internal",
...@@ -346,6 +347,7 @@ cc_test( ...@@ -346,6 +347,7 @@ cc_test(
name = "waiter_test", name = "waiter_test",
srcs = ["internal/waiter_test.cc"], srcs = ["internal/waiter_test.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
flaky = 1,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
":kernel_timeout_internal", ":kernel_timeout_internal",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment