yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #51235
[Bug 1582304] Re: Some v1 tests fail when http_proxy is enabled
Reviewed: https://review.openstack.org/316965
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=6f71b25ba28a532d3c17b3a5ee9e19c0ad7ecee2
Submitter: Jenkins
Branch: master
commit 6f71b25ba28a532d3c17b3a5ee9e19c0ad7ecee2
Author: Stuart McLaren <stuart.mclaren@xxxxxx>
Date: Mon May 16 15:58:13 2016 +0000
Allow tests to run when http proxy is set
We have support in tox.ini for passing http proxy variables:
passenv = *_proxy *_PROXY
but when the glance tests are run with a proxy enabled the following v1
tests would fail:
v1.test_api.TestGlanceAPI.test_add_location_with_nonempty_body
v1.test_api.TestGlanceAPI.test_add_copy_from_with_nonempty_body
v1.test_api.TestGlanceAPI.test_add_location_with_invalid_location_on_conflict_image_size
v1.test_api.TestGlanceAPI.test_add_copy_from_with_location
v1.test_api.TestGlanceAPI.test_download_service_unavailable
Change the url used in the tests so that the tests can be run when
a http_proxy is enabled.
Closes-bug: 1582304
Change-Id: Ic9d324ad98768c9388fed0ce6af27805f9a5863f
** Changed in: glance
Status: New => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1582304
Title:
Some v1 tests fail when http_proxy is enabled
Status in Glance:
Fix Released
Bug description:
If you set http_proxy=http://google.com:80 and run the tests with
tox -epy27
the following tests will fail
v1.test_api.TestGlanceAPI.test_add_location_with_nonempty_body
v1.test_api.TestGlanceAPI.test_add_copy_from_with_nonempty_body
v1.test_api.TestGlanceAPI.test_add_location_with_invalid_location_on_conflict_image_size
v1.test_api.TestGlanceAPI.test_add_copy_from_with_location
v1.test_api.TestGlanceAPI.test_download_service_unavailable
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1582304/+subscriptions
References