From 0899d77814abb4f02a9fd3aaf98ecb33b19c3de7 Mon Sep 17 00:00:00 2001 From: "narrieta@microsoft" Date: Fri, 10 Jan 2025 08:50:57 -0800 Subject: [PATCH] Remove reference to uninitialized variable --- .../tests/scripts/agent_firewall-verify_all_firewall_rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests_e2e/tests/scripts/agent_firewall-verify_all_firewall_rules.py b/tests_e2e/tests/scripts/agent_firewall-verify_all_firewall_rules.py index 449e724e0..00a2c6216 100755 --- a/tests_e2e/tests/scripts/agent_firewall-verify_all_firewall_rules.py +++ b/tests_e2e/tests/scripts/agent_firewall-verify_all_firewall_rules.py @@ -100,7 +100,7 @@ def _verify_dns_request_to_wireserver(should_succeed: bool) -> None: if succeeded: raise Exception(f"Error -- unprivileged user:({current_user}) could connect to wireserver port 53, make sure the firewall rules are set correctly") else: - raise Exception(f"Cannot issue a DNS request as user '{current_user}'), make sure the firewall rules are set correctly {e}") + raise Exception(f"Cannot issue a DNS request as user '{current_user}'), make sure the firewall rules are set correctly [DNS request timed out]") @staticmethod def _verify_http_request_to_wireserver(should_succeed: bool) -> None: