Recent changes in tenacity have broken how we mock the wait call for the test.
This change mocks out the inspect.getargspec call that is used in tenacity to
fix our unit tests for now. I think it might be beneficial to not actually test
the retry functionality in the paunch unit tests as it seems to be more
of a test for tenacity than paunch.
Reviewed: https:/ /review. openstack. org/596816 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=e2093fb7fc0 a0d35d5b3ac6a8b 5d4a8c373d79c7
Committed: https:/
Submitter: Zuul
Branch: master
commit e2093fb7fc0a0d3 5d5b3ac6a8b5d4a 8c373d79c7
Author: Emilien Macchi <email address hidden>
Date: Mon Aug 27 11:34:34 2018 -0400
Adjust tenacity mock
Recent changes in tenacity have broken how we mock the wait call for the test.
This change mocks out the inspect.getargspec call that is used in tenacity to
fix our unit tests for now. I think it might be beneficial to not actually test
the retry functionality in the paunch unit tests as it seems to be more
of a test for tenacity than paunch.
Change-Id: I37b09694de3ec9 f31a7b945d19a83 527c915b759
Related-Bug: #1788802