summaryrefslogtreecommitdiff
path: root/tests/topotests/simple_snmp_test
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-09-12 13:05:05 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-09-12 13:05:05 -0400
commitafe11d5edf9d157a696cfea080045917691d00c1 (patch)
tree43478d9b3bb6e8841d2623f1cc216ef954745b34 /tests/topotests/simple_snmp_test
parent4cf7c2bef349b2f0eb87a6e3f5a87ddf6e95c017 (diff)
tests: snmp tests sometimes fail with `Unable to bind`
the snmp tests are using zebra.conf to setup the address that they are binding to and immediately after that they are starting snmpd. If snmpd starts up *before* zebra has installed the address the bind on the address will fail. Causing the entire test to fail. Modify the snmpd.conf for all our snmp tests to bind to all addresses. Things still work and we no longer have an issue. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/simple_snmp_test')
-rw-r--r--tests/topotests/simple_snmp_test/r1/snmpd.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/simple_snmp_test/r1/snmpd.conf b/tests/topotests/simple_snmp_test/r1/snmpd.conf
index 740574cb8e..cdcd9a2b37 100644
--- a/tests/topotests/simple_snmp_test/r1/snmpd.conf
+++ b/tests/topotests/simple_snmp_test/r1/snmpd.conf
@@ -1,4 +1,4 @@
-agentAddress udp:1.1.1.1:161
+agentAddress udp:161
com2sec public 1.1.1.1 public