From 79d7f19061db48307b68dc74ccee2d269dcdf4e2 Mon Sep 17 00:00:00 2001 From: Emerick Rogul Date: Wed, 10 Sep 2025 06:39:47 -0400 Subject: [PATCH] Disable flakey upstream tests (#31118) --- test/filters/base_unittests.filter | 11 +++-------- test/filters/browser_tests.filter | 6 +++++- test/filters/unit_tests.filter | 1 + 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/filters/base_unittests.filter b/test/filters/base_unittests.filter index 281af081840..8d1438e9a40 100644 --- a/test/filters/base_unittests.filter +++ b/test/filters/base_unittests.filter @@ -1,8 +1,3 @@ -# Copyright (c) 2025 The Brave Authors. All rights reserved. -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this file, -# You can obtain one at https://mozilla.org/MPL/2.0/. - ## ## Upstream tests to disable ## @@ -10,9 +5,9 @@ ## why the filter is required and create an associated tracking issue. ## +# This test fails on CI but passes locally +-CancelableEventTest.BothCancelFailureAndSucceedOccurUnderContention + # rust logs severity has been tamed in brave, as crates were spamming CI with # logs. -RustLogIntegrationTest.CheckAllSeverity - -# This test fails on CI but passes locally --CancelableEventTest.BothCancelFailureAndSucceedOccurUnderContention diff --git a/test/filters/browser_tests.filter b/test/filters/browser_tests.filter index b196ff3fb2f..a4409d56024 100644 --- a/test/filters/browser_tests.filter +++ b/test/filters/browser_tests.filter @@ -2388,6 +2388,7 @@ -_/WebrtcLoggingPrivateApiStartEventLoggingTestPolicyEnabled.* -AdsPageLoadMetricsObserverBrowserTest.* -All/AmpPageLoadMetricsBrowserTest.* +-All/BrowsingDataRemoverBrowserTestP.CookieIncognitoDeletion/* -All/ClickToCallPolicyTest.* -All/ClientHintsBrowserTestForBlockAcceptClientHintsExperiment.Block/* -All/ClientHintsBrowserTestForMetaTagTypes.* @@ -2399,6 +2400,7 @@ -All/DownloadReferrerPolicyTest.DownloadCrossDomainReferrerPolicy/2 -All/FromGWSNavigationAndKeepAliveRequestBrowserTest.TwoDifferentCategoryRequestAndTwoDifferentCategoryNavigationsFromSRP/* -All/GetAuthTokenFunctionEnableGranularPermissionsTest.EnableGranularPermissions/* +-All/GetDisplayMediaHiDpiBrowserTest.Capture/0 -All/HeadlessModeDumpDomCommandBrowserTestWithSubResourceTimeout.HeadlessDumpDomWithSubResourceTimeout/* -All/IdentityGetProfileUserInfoFunctionTest*.*/* -All/LoginPromptBrowserTest.* @@ -2787,6 +2789,7 @@ -PersistentBackground/WebNavigationApiTestWithContextType.* -PersistentBackground/WebUiNtpInterceptionWebRequestAPITest.OneGoogleBarRequestsHidden/* -PersistentScriptingAPITest.* +-PKIMetadataComponentChromeRootStoreUpdateWithDoHServerTest.TrustAnchorIDs -PlatformAppBrowserTest.* -PolicyEnabled/WebrtcLoggingPrivateApiStartEventLoggingTestPolicy.StartEventLogging/* -PolicyPrefsTest.* @@ -3014,8 +3017,9 @@ -SystemNetworkContext/NetworkContextConfigurationProxyOnStartBrowserTest.* -SystemNetworkContext/NetworkContextConfigurationProxySettingsBrowserTest.* -SystemNetworkContext/NetworkContextConfigurationReportingAndNelBrowserTest.* --SyncSessionsRouterTabHelperBrowserTest.* +-SystemNetworkContextManagerNetworkServiceSandboxBrowsertest.NetworkServiceRestartsFailingLaunches -SystemNetworkContextManagerWithFirstPartySetComponentBrowserTest.* +-SyncSessionsRouterTabHelperBrowserTest.* -TabActivityWatcherTest.SwitchTabs -TabActivityWatcherTest.SwitchWindows -TabActivityWatcherTest.TabDrag diff --git a/test/filters/unit_tests.filter b/test/filters/unit_tests.filter index efe5ddc9fc9..8267d4ad9c3 100644 --- a/test/filters/unit_tests.filter +++ b/test/filters/unit_tests.filter @@ -679,6 +679,7 @@ -CountingPolicyTest.* -CWSInfoServiceTest.IgnoresNonCWSExtensions -DeclarativeContentActionTest.* +-DeviceAPIServiceWebAppTest.ReportErrorForDefaultUser -DevToolsUIBindingsTest.SanitizeFrontendURL -DevToolsUIDataSourceTest.TestDevToolsRemoteURL -DownloadProtectionServiceTest.*