We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b45508b commit ae649f4Copy full SHA for ae649f4
1 file changed
pytest_fixtures/component/rh_cloud.py
@@ -14,6 +14,9 @@ def enable_insights(host, satellite, org, activation_key):
14
org=org,
15
rhel_distro=f"rhel{host.os_version.major}",
16
)
17
+ result = host.execute('insights-client --status')
18
+ assert result.status == 0, f'insights-client not registered on {host.hostname}: {result.stdout}'
19
+ assert "Insights API confirms registration" in result.stdout
20
# Sync inventory if using hosted Insights
21
if not satellite.iop_enabled:
22
satellite.generate_inventory_report(org)
0 commit comments