Skip to content

Commit

Permalink
Fix test_rhcloud_inventory_api_e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
jameerpathan111 committed Jan 8, 2024
1 parent 814ae23 commit 95fd05d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pytest_fixtures/component/rh_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def rhcloud_registered_hosts(
org=rhcloud_manifest_org.label,
rhel_distro=f"rhel{vm.os_version.major}",
)
# workaround to get updated facts for infrastructure_type
vm.execute('subscription-manager facts --update && subscription-manager repos --list')
assert vm.subscribed
return mod_content_hosts

Expand Down

0 comments on commit 95fd05d

Please sign in to comment.