From 467c23f0f63f483a6e453340bdccbd88726d4747 Mon Sep 17 00:00:00 2001 From: Rakina Zata Amni Date: Fri, 15 Oct 2021 04:02:09 +0000 Subject: [PATCH] Disable PartitionAllocTest.PartialPageFreelists on mac arm-64 It was reenabled in crrev.com/c/3220877, but this test is still failing. Not reverting that CL since the other test reenabled is fine. Bug: 1154345 No-Presubmit: true No-Tree-Checks: true No-Try: true Change-Id: Ia813cce53bc2e737ceeda7ca26bea2ade03e1892 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3224964 Commit-Queue: Rakina Zata Amni Owners-Override: Rakina Zata Amni Reviewed-by: Takuto Ikuta Reviewed-by: Kentaro Hara Cr-Commit-Position: refs/heads/main@{#931856} --- .../partition_allocator/partition_alloc_unittest.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/base/allocator/partition_allocator/partition_alloc_unittest.cc b/base/allocator/partition_allocator/partition_alloc_unittest.cc index 06054e236926ce..7ac84caf1f73fd 100644 --- a/base/allocator/partition_allocator/partition_alloc_unittest.cc +++ b/base/allocator/partition_allocator/partition_alloc_unittest.cc @@ -1277,8 +1277,13 @@ TEST_F(PartitionAllocTest, ReallocDirectMapAlignedRelocate) { allocator.root()->Free(ptr2); } -// Tests the handing out of freelists for partial slot spans. -TEST_F(PartitionAllocTest, PartialPageFreelists) { +#if defined(OS_MAC) && defined(ARCH_CPU_ARM64) +// Bulk-disabled on mac-arm64 for bot stabilization: https://crbug.com/1154345 +#define MAYBE_PartialPageFreelists DISABLED_PartialPageFreelists +#else +#define MAYBE_PartialPageFreelists PartialPageFreelists +#endif +TEST_F(PartitionAllocTest, MAYBE_PartialPageFreelists) { size_t big_size = SystemPageSize() - kExtraAllocSize; size_t bucket_index = SizeToIndex(big_size + kExtraAllocSize); PartitionRoot::Bucket* bucket =