Commit 6833a0d9 authored by timvolodine's avatar timvolodine Committed by Commit bot

[Android] Disable PresentationServiceImplTest.ScreenAvailabilityNotSupported.

Disable the ScreenAvailabilityNotSupported unit test on Android,
because it's flaky on some android bots (see crbug.com/581878)

BUG=581878
TBR=avayvod@chromium.org,dskiba@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/1646823003

Cr-Commit-Position: refs/heads/master@{#372110}
parent 510e13d1
...@@ -801,7 +801,13 @@ TEST_F(PresentationServiceImplTest, MaxPendingJoinSessionRequests) { ...@@ -801,7 +801,13 @@ TEST_F(PresentationServiceImplTest, MaxPendingJoinSessionRequests) {
SaveQuitClosureAndRunLoop(); SaveQuitClosureAndRunLoop();
} }
TEST_F(PresentationServiceImplTest, ScreenAvailabilityNotSupported) { #if defined(OS_ANDROID)
#define MAYBE_ScreenAvailabilityNotSupported DISABLED_ScreenAvailabilityNotSupported
#else
#define MAYBE_ScreenAvailabilityNotSupported ScreenAvailabilityNotSupported
#endif
// Flaky on some android bots, see crbug.com/581878.
TEST_F(PresentationServiceImplTest, MAYBE_ScreenAvailabilityNotSupported) {
mock_delegate_.set_screen_availability_listening_supported(false); mock_delegate_.set_screen_availability_listening_supported(false);
EXPECT_CALL(mock_client_, EXPECT_CALL(mock_client_,
OnScreenAvailabilityNotSupported(Eq(kPresentationUrl))); OnScreenAvailabilityNotSupported(Eq(kPresentationUrl)));
......
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