From decf8f66fb1722436c7cc04316286ec013e49e7f Mon Sep 17 00:00:00 2001 From: Mihai PLESA Date: Sat, 14 Dec 2024 03:42:26 -0500 Subject: [PATCH] Revert "Disable CustomBackgroundFileManagerBrowserTest.SaveImageMultipleTimes on Mac" (#27014) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Revert "Disable CustomBackgroundFileManagerBrowserTest.SaveImageMultipleTimes…" This reverts commit 22540ff9372fe245611e032562758b51c03c6ed2. --- .../custom_background_file_manager_browsertest.cc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/browser/ntp_background/custom_background_file_manager_browsertest.cc b/browser/ntp_background/custom_background_file_manager_browsertest.cc index 884345a6373e..e5d2c48bbf7d 100644 --- a/browser/ntp_background/custom_background_file_manager_browsertest.cc +++ b/browser/ntp_background/custom_background_file_manager_browsertest.cc @@ -15,7 +15,6 @@ #include "base/threading/thread_restrictions.h" #include "brave/browser/ntp_background/constants.h" #include "brave/components/constants/brave_paths.h" -#include "build/build_config.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/browser.h" #include "chrome/test/base/in_process_browser_test.h" @@ -112,16 +111,8 @@ IN_PROC_BROWSER_TEST_F(CustomBackgroundFileManagerBrowserTest, EXPECT_TRUE(base::PathExists(test_file())); } -#if BUILDFLAG(IS_MAC) && defined(ARCH_CPU_ARM_FAMILY) -// On Mac ARM CI node, this test is flaky because of timeout. -// https://github.com/brave/brave-browser/issues/29762 -#define MAYBE_SaveImageMultipleTimes DISABLED_SaveImageMultipleTimes -#else -#define MAYBE_SaveImageMultipleTimes SaveImageMultipleTimes -#endif - IN_PROC_BROWSER_TEST_F(CustomBackgroundFileManagerBrowserTest, - MAYBE_SaveImageMultipleTimes) { + SaveImageMultipleTimes) { for (int i = 0; i < 3; i++) { base::RunLoop run_loop; base::FilePath expected_path =