test_v7000_fcp does DNS lookup when running unit tests

Bug #1470113 reported by Michal Dulko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Michal Dulko

Bug Description

Currently test_v7000_fcp doesn't mock socket.gethostbyaddr and hardcodes expected response to be google-public-dns-a.google.com (as it is querying for 8.8.8.8 as IP). This introduces dependency on external DNS lookup to pass unit tests and causes problems with running tests behind proxy.

Changed in cinder:
assignee: nobody → Michal Dulko (michal-dulko-f)
Changed in cinder:
status: New → In Progress
Revision history for this message
Michal Dulko (michal-dulko-f) wrote :
Jay Bryant (jsbryant)
Changed in cinder:
importance: Undecided → Low
Changed in cinder:
status: In Progress → Fix Committed
Changed in cinder:
milestone: none → liberty-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: liberty-2 → 7.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.