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

Unified Diff: net/test/test_server.cc

Issue 7744004: Avoid long test_server timeouts by using action_timeout_ms (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 3 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/safe_browsing/safe_browsing_test.cc ('k') | net/test/test_server_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/test_server.cc
diff --git a/net/test/test_server.cc b/net/test/test_server.cc
index d76430d2226bbd284b77332c621f15f793a3e676..faf10900020688d6b32d6a397cddbaf55549c7da 100644
--- a/net/test/test_server.cc
+++ b/net/test/test_server.cc
@@ -39,12 +39,6 @@ namespace net {
namespace {
-// Number of connection attempts for tests.
-const int kServerConnectionAttempts = 10;
-
-// Connection timeout in milliseconds for tests.
-const int kServerConnectionTimeoutMs = 1000;
-
std::string GetHostname(TestServer::Type type,
const TestServer::HTTPSOptions& options) {
if (type == TestServer::TYPE_HTTPS &&
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_test.cc ('k') | net/test/test_server_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698