diff options
author | Tom Rybka <trybka@google.com> | 2023-03-16 12:20:11 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-03-16 12:20:51 -0700 |
commit | 0697762c62cdb51ead8d9c2f0d299c5d4a4ff9db (patch) | |
tree | c5058252f23abb65b34aa84acfa27739bba4879d /absl/synchronization | |
parent | 3853b482ca84f78c50e8024d0d7861d949de5daa (diff) |
Increase the timeout of Windows for the kernel timeout tests.
Windows tests often run in Emulation, and even with KVM we can still timeout.
PiperOrigin-RevId: 517192968
Change-Id: I3b4e435f8ac8ad1e7eab6f043c051fa75efed64b
Diffstat (limited to 'absl/synchronization')
-rw-r--r-- | absl/synchronization/internal/kernel_timeout_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/absl/synchronization/internal/kernel_timeout_test.cc b/absl/synchronization/internal/kernel_timeout_test.cc index a96f806f..26ee34a2 100644 --- a/absl/synchronization/internal/kernel_timeout_test.cc +++ b/absl/synchronization/internal/kernel_timeout_test.cc @@ -26,7 +26,9 @@ namespace { #if defined(ABSL_HAVE_ADDRESS_SANITIZER) || \ defined(ABSL_HAVE_MEMORY_SANITIZER) || \ - defined(ABSL_HAVE_THREAD_SANITIZER) || defined(__ANDROID__) + defined(ABSL_HAVE_THREAD_SANITIZER) || \ + defined(__ANDROID__) || \ + defined(_WIN32) || defined(_WIN64) constexpr absl::Duration kTimingBound = absl::Milliseconds(5); #else constexpr absl::Duration kTimingBound = absl::Microseconds(250); |