Comment 3 for bug 1329614

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/99823
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7e54641fc1f760423c2f1210787903e17ea1cc06
Submitter: Jenkins
Branch: master

commit 7e54641fc1f760423c2f1210787903e17ea1cc06
Author: Angus Lees <email address hidden>
Date: Fri Jun 13 12:20:54 2014 +1000

    Don't follow HTTP_PROXY when talking to localhost test server

    Unlike urllib2, requests honours HTTP_PROXY by default. This meant
    test_uri_length_limit's test queries to http://localhost:$port/ would
    hit the wrong localhost when $HTTP_PROXY was another host - resulting in a
    meaningless test scenario and apparent failures with HTTP status codes
    other than the expected REQUEST_URI_TOO_LARGE (414).

    This change forces requests to go direct for those test queries.

    Closes-Bug: #1329614
    Change-Id: Ida3424ca9a750bd2d3f2e81dc7dfacc2a334adf1