Index: base/test/test_timeouts.cc |
=================================================================== |
--- base/test/test_timeouts.cc (revision 194909) |
+++ base/test/test_timeouts.cc (working copy) |
@@ -11,7 +11,9 @@ |
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; |
#else |
static const int kTimeoutMultiplier = 1; |