Skip to content

Commit

Permalink
[M109] [sheriff] Disable TabCaptureProvides0HzWith0MinFpsConstraintAn…
Browse files Browse the repository at this point in the history
…dStaticContent

Disable TabCaptureProvides0HzWith0MinFpsConstraintAndStaticContent test on Linux ASan and LSan builder.

(cherry picked from commit fea5dae)

Bug: 1395498
Change-Id: Ife5ddea83d44551dc9dbe43994a82b274fc3a438
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4077066
Reviewed-by: Alison Gale <agale@chromium.org>
Owners-Override: Liviu Tinta <liviutinta@chromium.org>
Auto-Submit: Liviu Tinta <liviutinta@chromium.org>
Commit-Queue: Alison Gale <agale@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#1078814}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4156514
Reviewed-by: Tom Lukaszewicz <tluk@google.com>
Commit-Queue: Robert Liao <robliao@chromium.org>
Owners-Override: Elaine Chien <elainechien@google.com>
Auto-Submit: Elaine Chien <elainechien@chromium.org>
Reviewed-by: Robert Liao <robliao@chromium.org>
Cr-Commit-Position: refs/branch-heads/5414@{#1430}
Cr-Branched-From: 4417ee5-refs/heads/main@{#1070088}
  • Loading branch information
liviutinta authored and Chromium LUCI CQ committed Jan 20, 2023
1 parent 1f8ea15 commit 5c0d5e8
Showing 1 changed file with 9 additions and 1 deletion.
Expand Up @@ -351,9 +351,17 @@ IN_PROC_BROWSER_TEST_F(WebRtcDesktopCaptureBrowserTest,
ASSERT_GE(average_fps, kFps / 3);
}

// TODO(crbug.com/1395498): Fails on Linux ASan LSan builder
#if BUILDFLAG(IS_LINUX) && defined(ADDRESS_SANITIZER) && defined(LEAK_SANITIZER)
#define MAYBE_TabCaptureProvides0HzWith0MinFpsConstraintAndStaticContent \
DISABLED_TabCaptureProvides0HzWith0MinFpsConstraintAndStaticContent
#else
#define MAYBE_TabCaptureProvides0HzWith0MinFpsConstraintAndStaticContent \
TabCaptureProvides0HzWith0MinFpsConstraintAndStaticContent
#endif
IN_PROC_BROWSER_TEST_F(
WebRtcDesktopCaptureBrowserTest,
TabCaptureProvides0HzWith0MinFpsConstraintAndStaticContent) {
MAYBE_TabCaptureProvides0HzWith0MinFpsConstraintAndStaticContent) {
constexpr base::TimeDelta kTestTime = base::Seconds(2);
InitializeTabSharingForFirstTab(
base::BindOnce(GetDesktopMediaIDForTab, base::Unretained(browser()), 1),
Expand Down

0 comments on commit 5c0d5e8

Please sign in to comment.