Skip to content

Commit 5afe66f

Browse files
Extend SNMP container cleanup check time allowance (#20985)
At the end of the snmp/test_snmp_link_local.py test, the test will run a config_reload to clean up the test, then check that the snmp container is up and running before ending the test. Currently, the test gives 60s for the snmp container to come back up after config_reload. This is sufficient for small topos but nowhere enough for large topos such as qspf t0-d32u32s2. Extending the allowed wait time to 300s. Test no longer fails on bad snmp container state on qspf t0-d32u32s2.
1 parent dab7092 commit 5afe66f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/snmp/test_snmp_link_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def check_snmp_lldp_ready():
2727
wait=True)['ansible_facts']
2828
return "No Such Instance currently exists" not in str(snmp_facts['snmp_lldp'])
2929

30-
if not wait_until(60, 5, 0, check_snmp_lldp_ready):
30+
if not wait_until(300, 5, 0, check_snmp_lldp_ready):
3131
pytest.fail("SNMP LLDP not ready for next test")
3232

3333

0 commit comments

Comments
 (0)