0

[Gardener] Disable SlideOut for Linux Asan

This test is flaky for months, see related bug for more information.

Bug: 401481106
Change-Id: I35f6e3be9df150ac7f77e1e94d8041eb6acb1444
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6330266
Commit-Queue: Andrei Nedoluzhko <nedol@google.com>
Owners-Override: Andrei Nedoluzhko <nedol@google.com>
Reviewed-by: Sparik Hayrapetyan <ust@google.com>
Reviewed-by: Irem Uguz <iremuguz@google.com>
Cr-Commit-Position: refs/heads/main@{#1429436}
This commit is contained in:
Andrei Nedoluzhko
2025-03-07 04:50:51 -08:00
committed by Chromium LUCI CQ
parent 33afa49282
commit 11f2e76858

@ -323,7 +323,13 @@ TEST_F(NotificationMenuViewTest, RemoveOlderNotification) {
// Tests that the displayed NotificationItemView is only dismissed when dragged
// beyond the threshold.
TEST_F(NotificationMenuViewTest, SlideOut) {
// TODO(crbug.com/401481106): This test is very flaky on Linux under Asan+Lsan.
#if BUILDFLAG(IS_LINUX) && defined(ADDRESS_SANITIZER)
#define MAYBE_SlideOut DISABLED_SlideOut
#else
#define MAYBE_SlideOut SlideOut
#endif
TEST_F(NotificationMenuViewTest, MAYBE_SlideOut) {
AddNotification("notification_id", u"title", u"message");
EXPECT_EQ(0, mock_notification_menu_controller()->slide_out_count_);