glance unit tests fail if OS_* environment variables are set
Bug #965598 reported by
Kevin L. Mitchell
This bug report is a duplicate of:
Bug #985671: glance tests fail because of OS_AUTH_URL.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Glance's test suite apparently doesn't sanitize the environment before performing the unit tests. This leads to tons of failures of the client itself, because it tries to query the configured Keystone server (or whatever) with incorrect credentials. The test suite should sanitize the environment before starting the test suite.
To reproduce: Start with OS_* set, run the test suite, note the errors and failures (not just limited to the client tests); clear OS_* from the environment, rerun the test suite, and notice everything passes.
To post a comment you must log in.
Yep, reproducible for me.