Skip to content

Commit

Permalink
tests: Remove sleep time in test_bgp_snmp_bgp4v2mib before the run_an…
Browse files Browse the repository at this point in the history
…d_expect

Signed-off-by: Martin Winter <[email protected]>
  • Loading branch information
mwinter-osr committed Feb 6, 2024
1 parent 0681a98 commit 37642cf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,7 @@ def __get_notif_bgp4v2_in_trap_file(router):
r2.vtysh_cmd("conf\nbgp snmp traps bgp4-mibv2")
r2.vtysh_cmd("conf\nno bgp snmp traps rfc4273")
rr.vtysh_cmd("clear bgp *")
sleep(30)
_, result = topotest.run_and_expect(_snmptrap_ipv6, True, count=2, wait=10)
_, result = topotest.run_and_expect(_snmptrap_ipv6, True, count=5, wait=10)
assertmsg = "Can't fetch SNMP trap for ipv6"
assert result, assertmsg

Expand Down

0 comments on commit 37642cf

Please sign in to comment.