Index: content/browser/presentation/presentation_service_impl_unittest.cc |
diff --git a/content/browser/presentation/presentation_service_impl_unittest.cc b/content/browser/presentation/presentation_service_impl_unittest.cc |
index 80e79524c4f726a3b688e7ef5ee04e3d9613dcbb..83bae546b246eed8d1b47b04ae0c0bde9ae58773 100644 |
--- a/content/browser/presentation/presentation_service_impl_unittest.cc |
+++ b/content/browser/presentation/presentation_service_impl_unittest.cc |
@@ -801,7 +801,13 @@ TEST_F(PresentationServiceImplTest, MaxPendingJoinSessionRequests) { |
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); |
EXPECT_CALL(mock_client_, |
OnScreenAvailabilityNotSupported(Eq(kPresentationUrl))); |