0

Disable flaky cookies_page_test on all platform

The test has been disabled on linux debug and mac before, but it's
actually quite flaky on all platforms (see the latest comment in the
bug). This CL disables it.

Bug: 40889245
Change-Id: Ice22a6f8a485c385bb463da2aaadfb6d910b4693
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6324955
Commit-Queue: Mingyu Lei <leimy@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428168}
This commit is contained in:
Mingyu Lei
2025-03-04 23:55:44 -08:00
committed by Chromium LUCI CQ
parent 34cb82e1c2
commit 33cdd5870d

@ -695,15 +695,9 @@ class SettingsCookiesPageTest : public SettingsBrowserTest {
privacy_sandbox::kPrivacySandboxFirstPartySetsUI};
};
#if ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) && !defined(NDEBUG)) || \
BUILDFLAG(IS_MAC)
#define MAYBE_CookiesPageTest DISABLED_CookiesPageTest
#else
#define MAYBE_CookiesPageTest CookiesPageTest
#endif
// TODO(crbug.com/40889245): fix flakiness on Linux and ChromeOS debug builds
// and re-enable.
IN_PROC_BROWSER_TEST_F(SettingsCookiesPageTest, MAYBE_CookiesPageTest) {
// TODO(crbug.com/40889245): fix flakiness on almost all platforms and
// re-enable.
IN_PROC_BROWSER_TEST_F(SettingsCookiesPageTest, DISABLED_CookiesPageTest) {
RunTest("settings/cookies_page_test.js", "runMochaSuite('CookiesPageTest')");
}