commit 0d5b3c6d7a4463ba6972507d38300f70cbf87c16
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)
Reviewed: https:/ /review. openstack. org/278108 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0d5b3c6d7a4 463ba6972507d38 300f70cbf87c16
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 0d5b3c6d7a4463b a6972507d38300f 70cbf87c16
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)
Closes-Bug: #1543766
(cherry picked from commit d754a830861fb55