Fix flaky test failures on MSVC.

PiperOrigin-RevId: 616951235
Change-Id: I2d6e95a432285c3f79ef8484848e88e06973f51f
diff --git a/absl/synchronization/internal/per_thread_sem_test.cc b/absl/synchronization/internal/per_thread_sem_test.cc
index c66bca8..2eb8067 100644
--- a/absl/synchronization/internal/per_thread_sem_test.cc
+++ b/absl/synchronization/internal/per_thread_sem_test.cc
@@ -162,7 +162,7 @@
   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