summaryrefslogtreecommitdiff
path: root/ospfclient/ospfclient.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-07-08 16:35:51 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-07-19 13:54:10 -0400
commit6ceca15dd16edb4045494df72ed967d6c13397e2 (patch)
tree6ce175c9cc33fa4d66b68141092db9b5260b9093 /ospfclient/ospfclient.py
parenta741212913ecf7cec22d4eb1fff0258510c6ba5a (diff)
tests: Make bgp_snmp_mplsl3vpn be more forgiving
I rarely get this failure: @classname: bgp_snmp_mplsl3vpn.test_bgp_snmp_mplsvpn @name: test_pe1_converge_evpn @time: 44.875 @message: AssertionError: BGP SNMP does not seem to be running assert False + where False = <bound method SnmpTester.test_oid of <lib.snmptest.SnmpTester object at 0x7fa8562eb4f0>>('bgpVersion', '10') + where <bound method SnmpTester.test_oid of <lib.snmptest.SnmpTester object at 0x7fa8562eb4f0>> = <lib.snmptest.SnmpTester object at 0x7fa8562eb4f0>.test_oid "Wait for protocol convergence" tgen = get_topogen() r1 = tgen.gears["r1"] r1_snmp = SnmpTester(r1, "10.1.1.1", "public", "2c") assertmsg = "BGP SNMP does not seem to be running" > assert r1_snmp.test_oid("bgpVersion", "10"), assertmsg E AssertionError: BGP SNMP does not seem to be running E assert False E + where False = <bound method SnmpTester.test_oid of <lib.snmptest.SnmpTester object at 0x7fa8562eb4f0>>('bgpVersion', '10') E + where <bound method SnmpTester.test_oid of <lib.snmptest.SnmpTester object at 0x7fa8562eb4f0>> = <lib.snmptest.SnmpTester object at 0x7fa8562eb4f0>.test_oid Under heavy system load a quick test before BGP can fully come up can result in a failed test. Add some extra time for snmp to come up properly. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfclient/ospfclient.py')
0 files changed, 0 insertions, 0 deletions