summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorChris Sosa <sosa@chromium.org>2014-06-10 18:18:24 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-06-11 22:08:28 +0000
commit0a364bb65efa5c5cdcd49114080a646a39e030fc (patch)
tree17377e9bd8ca1fafe00d3edd1f57e88767ac4a9a /utils.h
parenta8262e23b4d94af58e8e92d2a4b6e15ae4b4cf50 (diff)
Fix ServerDiesTest and FailureTest which depended on you running apache.
This CL fixes the issue that URL in both of these tests defaulted to no-port which meaned the tests were going to http://localhost. On some machines, that might point to an existing server running on port 80 (for me it was apache2 configured by autotest). This CL changes FailureTest to use a different hostname that should never match. In the case of the ServerDiesTest, we use the correct port of the server we kill during the test. I've also added documentation to what these tests should actually do. BUG=chromium:383200 TEST=Ran unittests with and without apache up. Change-Id: I6b4168eada48dcd59fad23ed7ff6577b18e4ef81 Reviewed-on: https://chromium-review.googlesource.com/203347 Reviewed-by: Chris Sosa <sosa@chromium.org> Commit-Queue: Chris Sosa <sosa@chromium.org> Tested-by: Chris Sosa <sosa@chromium.org>
Diffstat (limited to 'utils.h')
0 files changed, 0 insertions, 0 deletions