From 7aef7808d6dbe46ab95b37e6c67d1350c1da016b Mon Sep 17 00:00:00 2001 From: Derek Mauro Date: Mon, 21 Aug 2023 12:52:42 -0700 Subject: kernel_timeout_test: Add Apple to the list of slow platforms because it runs on non-dedicated Kokoro PiperOrigin-RevId: 558874605 Change-Id: Iba35f558ab8c967f98a3176af056e76341fb67c3 --- absl/synchronization/internal/kernel_timeout_test.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'absl/synchronization/internal') diff --git a/absl/synchronization/internal/kernel_timeout_test.cc b/absl/synchronization/internal/kernel_timeout_test.cc index 92ed2691..bc546719 100644 --- a/absl/synchronization/internal/kernel_timeout_test.cc +++ b/absl/synchronization/internal/kernel_timeout_test.cc @@ -47,11 +47,10 @@ extern "C" int clock_gettime(clockid_t c, struct timespec* ts) { namespace { -#if defined(ABSL_HAVE_ADDRESS_SANITIZER) || \ - defined(ABSL_HAVE_MEMORY_SANITIZER) || \ - defined(ABSL_HAVE_THREAD_SANITIZER) || \ - defined(__ANDROID__) || \ - defined(_WIN32) || defined(_WIN64) +#if defined(ABSL_HAVE_ADDRESS_SANITIZER) || \ + defined(ABSL_HAVE_MEMORY_SANITIZER) || \ + defined(ABSL_HAVE_THREAD_SANITIZER) || defined(__ANDROID__) || \ + defined(__APPLE__) || defined(_WIN32) || defined(_WIN64) constexpr absl::Duration kTimingBound = absl::Milliseconds(5); #else constexpr absl::Duration kTimingBound = absl::Microseconds(250); -- cgit v1.2.3