yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08829
[Bug 1255936] Re: Trove not mocked in tests
** Changed in: horizon
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1255936
Title:
Trove not mocked in tests
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
When running tests, I get the following output on the console:
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): public.trove.example.com
DEBUG:troveclient.client:Connection refused: HTTPConnectionPool(host='public.trove.example.com', port=8779): Max retries exceeded with url: /v1.0/instances/6ddc36d9-73db-4e23-b52e-368937d72719 (Caused by <class 'socket.gaierror'>: [Errno -2] Name or service not known)
..INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): public.trove.example.com
DEBUG:troveclient.client:Connection refused: HTTPConnectionPool(host='public.trove.example.com', port=8779): Max retries exceeded with url: /v1.0/instances/6ddc36d9-73db-4e23-b52e-368937d72719 (Caused by <class 'socket.gaierror'>: [Errno -2] Name or service not known)
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): public.trove.example.com
DEBUG:troveclient.client:Connection refused: HTTPConnectionPool(host='public.trove.example.com', port=8779): Max retries exceeded with url: /v1.0/instances/4d7b3f57-44f5-41d2-8e86-36b88cad572a (Caused by <class 'socket.gaierror'>: [Errno -2] Name or service not known)
It seems like some calls to trove are not properly mocked in the
tests, and it's trying to do actual calls.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1255936/+subscriptions