Eventlet 0.20.x adds support for monkey patching 'subprocess' and
drops 'select.poll'. So, when 'select' is patched and 'subproces'
is not, which is how Glance moneky patches for eventlet, following
errors show up.
"AttributeError: module 'select' has no attribute 'poll'".
Thus, to fix the errors I4de03e2a1ca493cd49a474a67cbbdec24d61b98f
attempted to green the tests to support eventlet 0.20.x.
However, that covered only functional tests causing other tests to
fail. This change monkey patches for eventlet right in 'glance.tests`
pacakge so that all tests are covered.
Reviewed: https:/ /review. openstack. org/448653 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=630402204e8 3b9e36c6822fc25 1fa06cf28963ac
Committed: https:/
Submitter: Jenkins
Branch: master
commit 630402204e83b9e 36c6822fc251fa0 6cf28963ac
Author: Hemanth Makkapati <email address hidden>
Date: Wed Mar 22 10:42:01 2017 -0500
Invoke Monkey Patching for All Tests
Eventlet 0.20.x adds support for monkey patching 'subprocess' and rror: module 'select' has no attribute 'poll'".
drops 'select.poll'. So, when 'select' is patched and 'subproces'
is not, which is how Glance moneky patches for eventlet, following
errors show up.
"AttributeE
Thus, to fix the errors I4de03e2a1ca493 cd49a474a67cbbd ec24d61b98f
attempted to green the tests to support eventlet 0.20.x.
However, that covered only functional tests causing other tests to
fail. This change monkey patches for eventlet right in 'glance.tests`
pacakge so that all tests are covered.
Closes-Bug: #1655727 e97471abced9ae2 d5ad2be261d
Change-Id: Ice3d431ac0c8ec