Skip to content

Commit

Permalink
integration test: allow pro service warnings (#4447)
Browse files Browse the repository at this point in the history
Even if pro is giving us warnings, that is showing that cloud-init
enabled things correctly.
  • Loading branch information
TheRealFalcon authored Sep 19, 2023
1 parent 5be5f58 commit 67bb6aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration_tests/modules/test_ubuntu_advantage.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def get_services_status(client: IntegrationInstance) -> dict:
assert status_resp.ok
status = json.loads(status_resp.stdout)
return {
svc["name"]: svc["status"] == "enabled" for svc in status["services"]
svc["name"]: svc["status"] in ["enabled", "warning"]
for svc in status["services"]
}


Expand Down

0 comments on commit 67bb6aa

Please sign in to comment.