From c27b2745b98c3266cd10249cb1b1642ea381ad50 Mon Sep 17 00:00:00 2001 From: Tianjiao Yin Date: Fri, 9 Jun 2017 22:03:48 -0700 Subject: [PATCH] fix FutexTest Summary: 2_ms seems too short. I am not sure whether it's feasible to check whether thread is waiting for an address. We could wait for longer to reduce false alarm. Reviewed By: nbronson Differential Revision: D5220819 fbshipit-source-id: 42f31206e9cb7f9addaa049d0e7cd995f6735f6c --- folly/test/FutexTest.cpp | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/folly/test/FutexTest.cpp b/folly/test/FutexTest.cpp index 24cd1756..b64238b6 100644 --- a/folly/test/FutexTest.cpp +++ b/folly/test/FutexTest.cpp @@ -184,17 +184,19 @@ void run_steady_clock_test() { template