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: I37b09694de3ec9f31a7b945d19a83527c915b759
Related-Bug: #1788802
(cherry picked from commit e2093fb7fc0a0d35d5b3ac6a8b5d4a8c373d79c7)
Reviewed: https:/ /review. openstack. org/606867 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=a3f518a3e33 f6a80fcd0e00907 cde27d88e36c9b
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit a3f518a3e33f6a8 0fcd0e00907cde2 7d88e36c9b
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 5d5b3ac6a8b5d4a 8c373d79c7)
Related-Bug: #1788802
(cherry picked from commit e2093fb7fc0a0d3