Revert "Speed up net_unittests by ~20s by manipulating tcp_pinger timeouts."

This reverts commit e0ff42dd35e02eae62f35043072ca23676577cac.

Did it break Vista tests? Let's see.

TBR=nsylvain

Review URL: http://codereview.chromium.org/155093

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19958 0039d316-1c4b-4281-b951-d872f2087c98
parent 2d5a3641
...@@ -41,9 +41,9 @@ class TCPPinger { ...@@ -41,9 +41,9 @@ class TCPPinger {
} }
int Ping() { int Ping() {
// Default is 40 tries, each with a timeout of 250ms, // Default is 10 tries, each with a timeout of 1000ms,
// for a total max timeout of 10 seconds. // for a total max timeout of 10 seconds.
return Ping(base::TimeDelta::FromMilliseconds(250), 40); return Ping(base::TimeDelta::FromMilliseconds(1000), 10);
} }
int Ping(base::TimeDelta tryTimeout, int nTries) { int Ping(base::TimeDelta tryTimeout, int nTries) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment