Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(832)

Unified Diff: content/browser/presentation/presentation_service_impl_unittest.cc

Issue 1646823003: [Android] Disable PresentationServiceImplTest.ScreenAvailabilityNotSupported. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698