commit d754a830861fb55b047e7b4d43ba7f485fc120dd
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.
Reviewed: https:/ /review. openstack. org/278089 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d754a830861 fb55b047e7b4d43 ba7f485fc120dd
Committed: https:/
Submitter: Jenkins
Branch: master
commit d754a830861fb55 b047e7b4d43ba7f 485fc120dd
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
Closes-Bug: #1543766