commit d95b321486f0ff4fd2d3d7f11b656b5b28031d49
Author: Chris Dent <email address hidden>
Date: Tue Feb 9 21:10:23 2016 +0000
Replace eventlet-based raw socket client with requests
There's no discernable reason why we need to use a raw
eventlet-based client TestWSGIServerWithSSL to confirm that a
wsgi server is listening correctly and returning the expected
response, especially since using eventlet leads to unreliable
i/o on the socket unless there is an explicit yield before
asserting the value of the response.
So requests is used to query the servers and verify the response.
Change-Id: I00c1c1e93eb7c66c3370434db4e3e6c00087f8aa
Closes-Bug: #1543766
(cherry picked from commit d754a830861fb55b047e7b4d43ba7f485fc120dd)
(cherry picked from commit 0d5b3c6d7a4463ba6972507d38300f70cbf87c16)
Reviewed: https:/ /review. openstack. org/278113 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d95b321486f 0ff4fd2d3d7f11b 656b5b28031d49
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit d95b321486f0ff4 fd2d3d7f11b656b 5b28031d49
Author: Chris Dent <email address hidden>
Date: Tue Feb 9 21:10:23 2016 +0000
Replace eventlet-based raw socket client with requests
There's no discernable reason why we need to use a raw ithSSL to confirm that a
eventlet-based client TestWSGIServerW
wsgi server is listening correctly and returning the expected
response, especially since using eventlet leads to unreliable
i/o on the socket unless there is an explicit yield before
asserting the value of the response.
So requests is used to query the servers and verify the response.
Change-Id: I00c1c1e93eb7c6 6c3370434db4e3e 6c00087f8aa b047e7b4d43ba7f 485fc120dd) a6972507d38300f 70cbf87c16)
Closes-Bug: #1543766
(cherry picked from commit d754a830861fb55
(cherry picked from commit 0d5b3c6d7a4463b