Commit cdb62454 authored by Hans Wennborg's avatar Hans Wennborg

Disable MediaSessionServiceImplBrowserTest.* under LSan

One of the tests was previously disabled in #565985, but the other tests
fail in the same way, so this disables them too.

TBR=mlamouri

Bug: 850870
Change-Id: I3c222c3d2e7b01dec946cf93f46fa5239f8c13de
Reviewed-on: https://chromium-review.googlesource.com/1097328Reviewed-by: default avatarHans Wennborg <hans@chromium.org>
Commit-Queue: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#566424}
parent 6b7c475b
...@@ -160,8 +160,15 @@ IN_PROC_BROWSER_TEST_F(MediaSessionServiceImplBrowserTest, ...@@ -160,8 +160,15 @@ IN_PROC_BROWSER_TEST_F(MediaSessionServiceImplBrowserTest,
// observers to wait for the message to be processed on the MediaSessionObserver // observers to wait for the message to be processed on the MediaSessionObserver
// side. // side.
#if defined(LEAK_SANITIZER)
// TODO(crbug.com/850870) Plug the leaks.
#define MAYBE_ResetServiceWhenNavigatingAway \
DISABLED_ResetServiceWhenNavigatingAway
#else
#define MAYBE_ResetServiceWhenNavigatingAway ResetServiceWhenNavigatingAway
#endif
IN_PROC_BROWSER_TEST_F(MediaSessionServiceImplBrowserTest, IN_PROC_BROWSER_TEST_F(MediaSessionServiceImplBrowserTest,
ResetServiceWhenNavigatingAway) { MAYBE_ResetServiceWhenNavigatingAway) {
NavigateToURL(shell(), GetTestUrl(".", "title1.html")); NavigateToURL(shell(), GetTestUrl(".", "title1.html"));
EnsurePlayer(); EnsurePlayer();
...@@ -182,8 +189,16 @@ IN_PROC_BROWSER_TEST_F(MediaSessionServiceImplBrowserTest, ...@@ -182,8 +189,16 @@ IN_PROC_BROWSER_TEST_F(MediaSessionServiceImplBrowserTest,
EXPECT_EQ(0u, GetService()->actions().size()); EXPECT_EQ(0u, GetService()->actions().size());
} }
#if defined(LEAK_SANITIZER)
// TODO(crbug.com/850870) Plug the leaks.
#define MAYBE_DontResetServiceForSameDocumentNavigation \
DISABLED_DontResetServiceForSameDocumentNavigation
#else
#define MAYBE_DontResetServiceForSameDocumentNavigation \
DontResetServiceForSameDocumentNavigation
#endif
IN_PROC_BROWSER_TEST_F(MediaSessionServiceImplBrowserTest, IN_PROC_BROWSER_TEST_F(MediaSessionServiceImplBrowserTest,
DontResetServiceForSameDocumentNavigation) { MAYBE_DontResetServiceForSameDocumentNavigation) {
NavigateToURL(shell(), GetTestUrl(".", "title1.html")); NavigateToURL(shell(), GetTestUrl(".", "title1.html"));
EnsurePlayer(); EnsurePlayer();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment