Index: lib/sanitizer_common/tests/sanitizer_allocator_test.cc =================================================================== --- lib/sanitizer_common/tests/sanitizer_allocator_test.cc +++ lib/sanitizer_common/tests/sanitizer_allocator_test.cc @@ -159,6 +159,9 @@ } #if SANITIZER_CAN_USE_ALLOCATOR64 +// These tests can fail on Windows if memory is somewhat full and lit happens +// to run them all at the same time. FIXME: Make them not flaky and reenable. +#if !SANITIZER_WINDOWS TEST(SanitizerCommon, SizeClassAllocator64) { TestSizeClassAllocator(); } @@ -171,6 +174,7 @@ TestSizeClassAllocator(); } #endif +#endif TEST(SanitizerCommon, SizeClassAllocator32Compact) { TestSizeClassAllocator(); @@ -248,6 +252,9 @@ } #if SANITIZER_CAN_USE_ALLOCATOR64 +// These tests can fail on Windows if memory is somewhat full and lit happens +// to run them all at the same time. FIXME: Make them not flaky and reenable. +#if !SANITIZER_WINDOWS TEST(SanitizerCommon, SizeClassAllocator64GetBlockBegin) { SizeClassAllocatorGetBlockBeginStress(); } @@ -260,6 +267,7 @@ TEST(SanitizerCommon, SizeClassAllocator32CompactGetBlockBegin) { SizeClassAllocatorGetBlockBeginStress(); } +#endif #endif // SANITIZER_CAN_USE_ALLOCATOR64 struct TestMapUnmapCallback { @@ -554,6 +562,9 @@ } #if SANITIZER_CAN_USE_ALLOCATOR64 +// These tests can fail on Windows if memory is somewhat full and lit happens +// to run them all at the same time. FIXME: Make them not flaky and reenable. +#if !SANITIZER_WINDOWS TEST(SanitizerCommon, SizeClassAllocator64LocalCache) { TestSizeClassAllocatorLocalCache< SizeClassAllocatorLocalCache >(); @@ -569,6 +580,7 @@ SizeClassAllocatorLocalCache >(); } #endif +#endif TEST(SanitizerCommon, SizeClassAllocator32CompactLocalCache) { TestSizeClassAllocatorLocalCache<