From 83c86129c1d7d2eb9cffc041bfcd28919726f435 Mon Sep 17 00:00:00 2001 From: Netzenbot Date: Thu, 9 Apr 2026 13:29:50 -0400 Subject: [PATCH] Disable UpdateMetricsProviderBrowserTest.RunInBackground on all platforms (#35399) Disable UpdateMetricsProviderBrowserTest.RunInBackground in cross-platform filter Move the test from browser_tests-windows.filter to browser_tests.filter so it is disabled on all platforms (Linux, macOS, Windows). The upstream flake affects any platform where a previous test subprocess exits uncleanly. Resolves brave/brave-browser#54247 --- test/filters/browser_tests-windows.filter | 1 - test/filters/browser_tests.filter | 7 +++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/test/filters/browser_tests-windows.filter b/test/filters/browser_tests-windows.filter index 48d992b78d3..38de960fe44 100644 --- a/test/filters/browser_tests-windows.filter +++ b/test/filters/browser_tests-windows.filter @@ -72,7 +72,6 @@ -PersistentBackground/ExtensionWebRequestApiTestWithContextType.WebRequestRedirectsWorkers/BackgroundResourceFetchEnabled -ServiceWorker/ExtensionWebRequestApiTestWithContextType.WebRequestRedirectsWorkers/BackgroundResourceFetchDisabled -ServiceWorker/ExtensionWebRequestApiTestWithContextType.WebRequestRedirectsWorkers/BackgroundResourceFetchEnabled --UpdateMetricsProviderBrowserTest.RunInBackground # This test fails because we modify the Profile Picker UI to skip the initial # screen and the tests ends up creating 2 profiles instead of the intended one. diff --git a/test/filters/browser_tests.filter b/test/filters/browser_tests.filter index 2d809b7a4e1..d392dce1108 100644 --- a/test/filters/browser_tests.filter +++ b/test/filters/browser_tests.filter @@ -3608,3 +3608,10 @@ # Not disabled by Chromium. No Brave chromium_src modifications in this area. # https://github.com/brave/brave-browser/issues/54104 -SensitivePaymentRedactionMultiSourcePageContextFetcherBrowserTest.BasicRedactionInIframe + +# Chromium test: upstream flake. The globally registered UpdateMetricsProvider +# may record histogram samples during browser startup (e.g. via initial +# stability log). The test's histogram_tester_ starts at construction before +# startup, so it captures stray samples and ExpectUniqueSample fails. +# https://github.com/brave/brave-browser/issues/54247 +-UpdateMetricsProviderBrowserTest.RunInBackground