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

Unified Diff: net/socket/transport_client_socket_pool_unittest.cc

Issue 7827033: Introduce net::HttpServerPropertiesManager to manage server-specific properties. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
Index: net/socket/transport_client_socket_pool_unittest.cc
===================================================================
--- net/socket/transport_client_socket_pool_unittest.cc (revision 103555)
+++ net/socket/transport_client_socket_pool_unittest.cc (working copy)
@@ -979,7 +979,8 @@
if (index == CANCEL_AFTER_WAIT) {
// Wait for the backup socket timer to fire.
- base::PlatformThread::Sleep(ClientSocketPool::kMaxConnectRetryIntervalMs);
+ base::PlatformThread::Sleep(
+ ClientSocketPool::kMaxConnectRetryIntervalMs / 2 * 3);
}
// Let the appropriate socket connect.
@@ -1033,7 +1034,8 @@
MessageLoop::current()->RunAllPending();
// Wait for the backup socket timer to fire.
- base::PlatformThread::Sleep(ClientSocketPool::kMaxConnectRetryIntervalMs);
+ base::PlatformThread::Sleep(
+ ClientSocketPool::kMaxConnectRetryIntervalMs / 2 * 3);
// Let the second connect be synchronous. Otherwise, the emulated
// host resolution takes an extra trip through the message loop.
@@ -1085,7 +1087,8 @@
MessageLoop::current()->RunAllPending();
// Wait for the backup socket timer to fire.
- base::PlatformThread::Sleep(ClientSocketPool::kMaxConnectRetryIntervalMs);
+ base::PlatformThread::Sleep(
+ ClientSocketPool::kMaxConnectRetryIntervalMs / 2 * 3);
// Let the second connect be synchronous. Otherwise, the emulated
// host resolution takes an extra trip through the message loop.

Powered by Google App Engine
This is Rietveld 408576698