Disable Chromium test ChromeDataUseMeasurementBrowserTest.DataUseRecorded (#35105)

This is an upstream Chromium test that consistently times out in Brave.
The test's busy-wait loop (RunUntilIdle + FetchHistogramsFromChildProcesses)
hangs because Brave's background tasks from extensions and shields keep the
UI thread non-idle, preventing RunUntilIdle from completing.

The underlying DataUse histogram recording works correctly - verified by
calling FetchHistogramsAsynchronously directly, which returns total=1569
bytes of data use. The issue is purely in the test's retry mechanism.

Upstream flake rate: 0.3% (stable). No Brave chromium_src overrides
affect the data use measurement code path.

Resolves https://github.com/brave/brave-browser/issues/54039
This commit is contained in:
Netzenbot
2026-03-31 15:22:37 -04:00
committed by GitHub
parent f02162d0ac
commit 9f1db1e854
+8
View File
@@ -3572,3 +3572,11 @@
-WebViewTests/WebViewTest.TestContextMenu/SiteIsolationForGuestsEnabled
-WebViewWithDefaultSiteInstanceTest.IsolatedOrigin
-WithAndWithoutReset/SessionRestoreTabGroupsTest.*
# This Chromium test times out because its busy-wait loop calling
# RunUntilIdle() + FetchHistogramsFromChildProcesses() hangs in Brave due to
# background tasks from extensions and shields keeping the UI thread non-idle.
# The underlying DataUse histogram recording works correctly (verified via
# inline FetchHistogramsAsynchronously call). Upstream flake rate: 0.3%.
# https://github.com/brave/brave-browser/issues/54039
-ChromeDataUseMeasurementBrowserTest.DataUseRecorded