Reviewed: https://review.openstack.org/409140 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=06c4313ec0ed043970a60cbbc463f3dcad71f6f4 Submitter: Jenkins Branch: master
commit 06c4313ec0ed043970a60cbbc463f3dcad71f6f4 Author: Dirk Mueller <email address hidden> Date: Fri Dec 9 14:11:33 2016 +0100
Adjust test suite for new psutil versions
psutil 2.x and above has a lot of API changes as described in: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst
So we should work correctly with both old and new psutil versions by using a version check and use the correct method/attributes. This allows to eventually unlift the version cap that starts to hurt.
Related-Bug: 1645918 Change-Id: I6be775e83876271012f6b7a777ea2b5cc3a008f6
Reviewed: https:/ /review. openstack. org/409140 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=06c4313ec0e d043970a60cbbc4 63f3dcad71f6f4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 06c4313ec0ed043 970a60cbbc463f3 dcad71f6f4
Author: Dirk Mueller <email address hidden>
Date: Fri Dec 9 14:11:33 2016 +0100
Adjust test suite for new psutil versions
psutil 2.x and above has a lot of API changes as described in: /github. com/giampaolo/ psutil/ blob/master/ HISTORY. rst
https:/
So we should work correctly with both old and new psutil attributes. This allows to eventually unlift the version
versions by using a version check and use the correct
method/
cap that starts to hurt.
Related-Bug: 1645918 1012f6b7a777ea2 b5cc3a008f6
Change-Id: I6be775e8387627