Reviewed: https://review.opendev.org/c/openstack/charm-manila/+/805405 Committed: https://opendev.org/openstack/charm-manila/commit/310647c2bd3010f0ae9096e396d21402d20a95bf Submitter: "Zuul (22348)" Branch: master
commit 310647c2bd3010f0ae9096e396d21402d20a95bf Author: Gustavo Sanchez <email address hidden> Date: Fri Aug 20 10:41:53 2021 -0400
Fixes flacky unit test wih py36
When running TestManilaCharm.test_install() with py36 sometimes test passes and sometimes throws and error while mocking methods. Seems to be an async race problem mocking a super method first.
This was solved by avoiding mocking super method first.
Closes-Bug: #1940552 Change-Id: Iac55321599b4866784a0631639a93fc828780647
Reviewed: https:/ /review. opendev. org/c/openstack /charm- manila/ +/805405 /opendev. org/openstack/ charm-manila/ commit/ 310647c2bd3010f 0ae9096e396d214 02d20a95bf
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 310647c2bd3010f 0ae9096e396d214 02d20a95bf
Author: Gustavo Sanchez <email address hidden>
Date: Fri Aug 20 10:41:53 2021 -0400
Fixes flacky unit test wih py36
When running TestManilaCharm .test_install( ) with py36 sometimes
test passes and sometimes throws and error while mocking methods.
Seems to be an async race problem mocking a super method first.
This was solved by avoiding mocking super method first.
Closes-Bug: #1940552 6784a0631639a93 fc828780647
Change-Id: Iac55321599b486