Skip to content

Commit

Permalink
Add logging for policy deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
maddieford committed Feb 4, 2025
1 parent 497180f commit 03d1f3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests_e2e/tests/ext_policy/ext_policy_with_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ def run(self):
for ssh_client in ssh_clients.values():
ssh_client.run_command("update-waagent-conf Debug.EnableExtensionPolicy=n", use_sudo=True)
ssh_client.run_command("rm -f /etc/waagent_policy.json", use_sudo=True)
log.info("")
log.info("Successfully disabled policy via config (Debug.EnableExtensionPolicy=n) and removed policy file at /etc/waagent_policy.json")

def get_ignore_errors_before_timestamp(self) -> datetime:
# Ignore errors in the agent log before the first test case starts
Expand Down

0 comments on commit 03d1f3f

Please sign in to comment.