diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 12:25:17 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 12:25:17 +0000 |
commit | 80fd3057647ab42f60f28d3e689fee51a1db701f (patch) | |
tree | c30df5e72238f4736b6ba9a1676321d3ccedddbd /net/test | |
parent | eb42ecca849507e2b3c6b5b7f68cfe1c135be345 (diff) | |
download | chromium_src-80fd3057647ab42f60f28d3e689fee51a1db701f.zip chromium_src-80fd3057647ab42f60f28d3e689fee51a1db701f.tar.gz chromium_src-80fd3057647ab42f60f28d3e689fee51a1db701f.tar.bz2 |
GTTF: Use different port number for all types of TestServer.
Jay Civelli has noticed it should help with flakiness.
BUG=40932
TEST=none
Review URL: http://codereview.chromium.org/3412031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60632 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test')
-rw-r--r-- | net/test/test_server.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net/test/test_server.cc b/net/test/test_server.cc index 536d351..f4eb64f 100644 --- a/net/test/test_server.cc +++ b/net/test/test_server.cc @@ -47,11 +47,15 @@ int GetPortBase(net::TestServer::Type type) { case net::TestServer::TYPE_HTTP: return 1337; case net::TestServer::TYPE_HTTPS: + return 9443; case net::TestServer::TYPE_HTTPS_CLIENT_AUTH: + return 9543; case net::TestServer::TYPE_HTTPS_EXPIRED_CERTIFICATE: - return 9443; - case net::TestServer::TYPE_HTTPS_MISMATCHED_HOSTNAME: + // TODO(phajdan.jr): Some tests rely on this hardcoded value. + // Some uses of this are actually in .html/.js files. return 9666; + case net::TestServer::TYPE_HTTPS_MISMATCHED_HOSTNAME: + return 9643; default: NOTREACHED(); } |