Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ObjectRetrierWraps for cinder/nova clients in cinder tests #1170

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ajkavanagh
Copy link
Collaborator

Due to how apache2 & haproxy interact on the cinder unit, this adds the
ObjectRetrier to the cinder and nova clients to allow for the time delay
between the apache2 service starting and the haproxy service noticing
and opening the port. This allows the test_100... cinder test to
function as (technically) there isn't an error.

Due to how apache2 & haproxy interact on the cinder unit, this adds the
ObjectRetrier to the cinder and nova clients to allow for the time delay
between the apache2 service starting and the haproxy service noticing
and opening the port.  This allows the test_100... cinder test to
function as (technically) there isn't an error.
These are needed to make the cinder_backup tests more resilient.
openstack-mirroring pushed a commit to openstack/charm-cinder-backup that referenced this pull request Jan 11, 2024
Patch out charmhelpers.osplatform.get_platform() and
charmhelpers.core.host.lsb_release() globally in the unit tests to
insulate the unit tests from the platform that the unit tests are being
run on.

Change-Id: Ice2a2d2379349c8cf7d77027cbca78b19e9d72d1
func-test-pr: openstack-charmers/zaza-openstack-tests#1170
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Jan 11, 2024
* Update charm-cinder-backup from branch 'master'
  to d00d011c188a69d45368d48f97348cec8c3ea034
  - Improve platform mocking
    
    Patch out charmhelpers.osplatform.get_platform() and
    charmhelpers.core.host.lsb_release() globally in the unit tests to
    insulate the unit tests from the platform that the unit tests are being
    run on.
    
    Change-Id: Ice2a2d2379349c8cf7d77027cbca78b19e9d72d1
    func-test-pr: openstack-charmers/zaza-openstack-tests#1170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant