From 8043aa1e1c2cf8b975b9accc40cea40abe5a1adb Mon Sep 17 00:00:00 2001 From: Netzenbot Date: Mon, 6 Apr 2026 16:57:53 -0400 Subject: [PATCH] Disable flaky ExtensionModuleApiTest.CognitoFile on startup timeout (#35287) Disable flaky PersistentBackground/ExtensionModuleApiTest.CognitoFile/0 This Chromium test intermittently times out on Windows CI because Brave's additional startup services keep the UI thread non-idle, causing RunUntilIdle() to exceed the 30-second timeout. The test exercises purely upstream extension module API code with no Brave modifications. Upstream flake rate: 0.2% (stable). Resolves https://github.com/brave/brave-browser/issues/54187 Co-authored-by: Brian R. Bondy --- test/filters/browser_tests.filter | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/filters/browser_tests.filter b/test/filters/browser_tests.filter index 49a9004a439..2d809b7a4e1 100644 --- a/test/filters/browser_tests.filter +++ b/test/filters/browser_tests.filter @@ -3586,6 +3586,15 @@ # https://github.com/brave/brave-browser/issues/54039 -ChromeDataUseMeasurementBrowserTest.DataUseRecorded +# This Chromium test times out because RunUntilIdle() at +# browser_test_base.cc:966 never completes — Brave's additional startup +# services (stats updater, referrals, P3A, NTP background images, etc.) keep +# the UI thread task queue non-idle, exceeding the 30-second +# action_max_timeout. Upstream flake rate: 0.2% (stable). No Brave +# modifications to the extension module API code under test. +# https://github.com/brave/brave-browser/issues/54187 +-PersistentBackground/ExtensionModuleApiTest.CognitoFile/0 + # Chromium test: known upstream flake (3.4% flake rate over 30 days, # 112k+ verdicts). No Brave modifications in chrome/browser/save_to_drive/. # Test times out during PDF extension host loading in SetUpOnMainThread.