| 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.
|
|
|