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

Fix: ceph-radosgw test should only check radosgw app #1199

Merged
merged 1 commit into from
Apr 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix: ceph-radosgw test should only check radosgw app
Don't block on global app state waiting but only check the SUT app
state.
sabaini committed Apr 17, 2024
commit da3463cb94ded5c8197c93d0b2de10b979c3124b
16 changes: 5 additions & 11 deletions zaza/openstack/charm_tests/ceph/tests.py
Original file line number Diff line number Diff line change
@@ -1236,17 +1236,11 @@ def test_005_virtual_hosted_bucket(self):

# 0. Configure virtual hosted bucket
self.enable_virtual_hosted_bucket()
assert_state = {
self.primary_rgw_app: {
"workload-status": "blocked",
"workload-status-message-prefix":
"os-public-hostname must have a value "
"when virtual hosted bucket is enabled"
}
}
zaza_model.wait_for_application_states(self.model_name,
states=assert_state,
timeout=900)
zaza_model.block_until_wl_status_info_starts_with(
self.primary_rgw_app,
'os-public-hostname must have a value',
timeout=900
)
self.set_os_public_hostname()
zaza_model.block_until_all_units_idle(self.model_name)
container_name = 'zaza-bucket'