From a41e0168bf2e4f071adc145e0ea8ccec767cd98f Mon Sep 17 00:00:00 2001 From: Evan Brown Date: Mon, 18 Mar 2024 14:38:51 -0700 Subject: Fix flaky test failures on MSVC. PiperOrigin-RevId: 616951235 Change-Id: I2d6e95a432285c3f79ef8484848e88e06973f51f --- absl/synchronization/internal/per_thread_sem_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'absl/synchronization') diff --git a/absl/synchronization/internal/per_thread_sem_test.cc b/absl/synchronization/internal/per_thread_sem_test.cc index c66bca84..2eb80679 100644 --- a/absl/synchronization/internal/per_thread_sem_test.cc +++ b/absl/synchronization/internal/per_thread_sem_test.cc @@ -162,7 +162,7 @@ TEST_F(PerThreadSemTest, Timeouts) { absl::Duration slop = absl::Milliseconds(1); #ifdef _MSC_VER // Use higher slop on MSVC due to flaky test failures. - slop = absl::Milliseconds(4); + slop = absl::Milliseconds(8); #endif EXPECT_LE(delay - slop, elapsed) << "Wait returned " << delay - elapsed -- cgit v1.2.3