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

Unified Diff: chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc

Issue 2706183002: Fix flaky tests by disabling DeviceDiscoveryNotification service. (Closed)
Patch Set: Created 3 years, 10 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 | « chrome/browser/extensions/api/gcd_private/gcd_private_apitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc
diff --git a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc
index 2081f933c77b257340922f4d31b1b40898bf5392..9971504107a809908f0af406e3ac1074a05be67d 100644
--- a/chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc
+++ b/chrome/browser/ui/webui/local_discovery/local_discovery_ui_browsertest.cc
@@ -447,6 +447,7 @@ class LocalDiscoveryUITest : public WebUIBrowserTest {
command_line->AppendSwitchASCII(chromeos::switches::kLoginProfile,
chrome::kTestUserProfileDir);
#endif
+ command_line->AppendSwitch(switches::kDisableDeviceDiscoveryNotifications);
WebUIBrowserTest::SetUpCommandLine(command_line);
}
@@ -516,7 +517,7 @@ IN_PROC_BROWSER_TEST_F(LocalDiscoveryUITest, AddRowTest) {
}
// Flaky: http://crbug.com/660669.
-IN_PROC_BROWSER_TEST_F(LocalDiscoveryUITest, DISABLED_RegisterTest) {
+IN_PROC_BROWSER_TEST_F(LocalDiscoveryUITest, RegisterTest) {
TestMessageLoopCondition condition_token_claimed;
ui_test_utils::NavigateToURL(browser(), GURL(
« no previous file with comments | « chrome/browser/extensions/api/gcd_private/gcd_private_apitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698