yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #34091
[Bug 1433785] Re: Tests error out when running tests with --debug after oslo.log graduation
** Changed in: glance
Status: Fix Committed => Fix Released
** Changed in: glance
Milestone: None => liberty-1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1433785
Title:
Tests error out when running tests with --debug after oslo.log
graduation
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Bug description:
If you want to debug into the tests, you might do "./run_tests.sh
--debug -V glance.tests.unit.v1.test_api.TestGlanceAPI"
This translated to "python -m testtools.run
glance.tests.unit.v1.test_api.TestGlanceAPI" which errors out because
we attempt to set CONF.debug but the debug option hasn't been
registered. This is registered by oslo.log and when using
testtools.run, it seems to not be registered (probably because of how
testtools imports tests). This prevents tests from running properly
and from debugging into them.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1433785/+subscriptions
References