Attempt to prevent flaky thread.mutex tests by once again increasing timing tolerances
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@248993 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -36,10 +36,10 @@ ms WaitTime = ms(250);
|
||||
// Thread sanitizer causes more overhead and will sometimes cause this test
|
||||
// to fail. To prevent this we give Thread sanitizer more time to complete the
|
||||
// test.
|
||||
#if !TEST_HAS_FEATURE(thread_sanitizer)
|
||||
#if !defined(TEST_HAS_SANITIZERS)
|
||||
ms Tolerance = ms(50);
|
||||
#else
|
||||
ms Tolerance = ms(100);
|
||||
ms Tolerance = ms(50 * 5);
|
||||
#endif
|
||||
|
||||
void f()
|
||||
|
||||
@@ -37,10 +37,10 @@ ms WaitTime = ms(250);
|
||||
// Thread sanitizer causes more overhead and will sometimes cause this test
|
||||
// to fail. To prevent this we give Thread sanitizer more time to complete the
|
||||
// test.
|
||||
#if !TEST_HAS_FEATURE(thread_sanitizer)
|
||||
#if !defined(TEST_HAS_SANITIZERS)
|
||||
ms Tolerance = ms(50);
|
||||
#else
|
||||
ms Tolerance = ms(100);
|
||||
ms Tolerance = ms(50 * 5);
|
||||
#endif
|
||||
|
||||
void f()
|
||||
|
||||
Reference in New Issue
Block a user