Commit f6eea351 authored by glider@chromium.org's avatar glider@chromium.org

Double the timeout values when running under ThreadSanitizer v2. It is at...

Double the timeout values when running under ThreadSanitizer v2. It is at least as slow as AddressSanitizer, if not worse.

BUG=128314

Review URL: https://codereview.chromium.org/14352009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195144 0039d316-1c4b-4281-b951-d872f2087c98
parent d07e6be7
...@@ -11,7 +11,9 @@ ...@@ -11,7 +11,9 @@
namespace { namespace {
#ifdef ADDRESS_SANITIZER // ASan and TSan instrument each memory access. This may slow the execution
// down significantly.
#if defined(ADDRESS_SANITIZER) || defined(THREAD_SANITIZER)
static const int kTimeoutMultiplier = 2; static const int kTimeoutMultiplier = 2;
#else #else
static const int kTimeoutMultiplier = 1; static const int kTimeoutMultiplier = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment