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

Side by Side Diff: chrome/browser/extensions/api/socket/socket_apitest.cc

Issue 58743002: Disable flaky test: SocketPpapiTest.Multicast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/memory/ref_counted.h" 5 #include "base/memory/ref_counted.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "chrome/browser/extensions/api/dns/host_resolver_wrapper.h" 8 #include "chrome/browser/extensions/api/dns/host_resolver_wrapper.h"
9 #include "chrome/browser/extensions/api/dns/mock_host_resolver_creator.h" 9 #include "chrome/browser/extensions/api/dns/mock_host_resolver_creator.h"
10 #include "chrome/browser/extensions/api/socket/socket_api.h" 10 #include "chrome/browser/extensions/api/socket/socket_api.h"
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 318
319 LaunchTestingApp(); 319 LaunchTestingApp();
320 320
321 EXPECT_TRUE(listener.WaitUntilSatisfied()); 321 EXPECT_TRUE(listener.WaitUntilSatisfied());
322 listener.Reply( 322 listener.Reply(
323 base::StringPrintf("tcp_server:%s:%d", kHostname.c_str(), kPort)); 323 base::StringPrintf("tcp_server:%s:%d", kHostname.c_str(), kPort));
324 324
325 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message(); 325 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message();
326 } 326 }
327 327
328 IN_PROC_BROWSER_TEST_F(SocketPpapiTest, MAYBE(Multicast)) { 328 // Disabled due to flakiness: http://crbug.com/314899
329 IN_PROC_BROWSER_TEST_F(SocketPpapiTest, DISABLED_Multicast) {
329 ResultCatcher catcher; 330 ResultCatcher catcher;
330 catcher.RestrictToProfile(browser()->profile()); 331 catcher.RestrictToProfile(browser()->profile());
331 ExtensionTestMessageListener listener("info_please", true); 332 ExtensionTestMessageListener listener("info_please", true);
332 333
333 LaunchTestingApp(); 334 LaunchTestingApp();
334 335
335 EXPECT_TRUE(listener.WaitUntilSatisfied()); 336 EXPECT_TRUE(listener.WaitUntilSatisfied());
336 listener.Reply( 337 listener.Reply(
337 base::StringPrintf("multicast:%s:%d", kHostname.c_str(), kPort)); 338 base::StringPrintf("multicast:%s:%d", kHostname.c_str(), kPort));
338 339
339 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message(); 340 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message();
340 } 341 }
341 #endif 342 #endif
OLDNEW
« 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