From ddb7850ce6998d41b5f2e76492ec4f362d74127c Mon Sep 17 00:00:00 2001 From: Nathan Bronson Date: Wed, 24 Feb 2016 20:28:37 -0800 Subject: [PATCH] shorten SharedMutex tests that timeout under ASAN Summary:New ASAN options are more thorough but slower, resulting in timeouts for some tests. Decreasing their internal loop count to compensate. Reviewed By: yfeldblum Differential Revision: D2973982 fb-gh-sync-id: 67391936d0b4930f99d00358ebb93a1b3ee87140 shipit-source-id: 67391936d0b4930f99d00358ebb93a1b3ee87140 --- folly/test/SharedMutexTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/folly/test/SharedMutexTest.cpp b/folly/test/SharedMutexTest.cpp index 47c40b02..3710709e 100644 --- a/folly/test/SharedMutexTest.cpp +++ b/folly/test/SharedMutexTest.cpp @@ -1001,14 +1001,14 @@ TEST(SharedMutex, deterministic_mixed_mostly_read_write_prio) { TEST(SharedMutex, mixed_mostly_read_read_prio) { for (int pass = 0; pass < 5; ++pass) { runMixed( - 50000, 32, 0.1, false); + 10000, 32, 0.1, false); } } TEST(SharedMutex, mixed_mostly_read_write_prio) { for (int pass = 0; pass < 5; ++pass) { runMixed( - 50000, 32, 0.1, false); + 10000, 32, 0.1, false); } } -- 2.34.1