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 3af6bf69e..2ef8454fd 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 @@ -39,7 +39,7 @@ WIRESERVER_ENDPOINT_FILE = '/var/lib/waagent/WireServerEndpoint' WIRESERVER_IP = '168.63.129.16' VERSIONS_PATH = '/?comp=versions' -FIREWALL_PERIOD = 60 +FIREWALL_PERIOD = 30 class FirewallRules(object): @@ -144,7 +144,7 @@ def check_all_iptables() -> bool: log.info("-----Verifying all ip table rules are present in rule set") # Agent will re-add rules within OS.EnableFirewallPeriod, So waiting that time + some buffer - found: bool = retry_if_false(check_all_iptables, attempts=2, delay=FIREWALL_PERIOD+30) + found: bool = retry_if_false(check_all_iptables, attempts=2, delay=FIREWALL_PERIOD+15) if not found: fail("IP table rules missing in rule set.\n Current iptable rules:\n {0}".format(