Improve bfd-session-down-does-not-trigger-bgp-session-down test

Increase timeout before checking output
This commit is contained in:
František Hrdina 2025-02-14 19:07:29 +01:00
commit cc0bbdbb99

View file

@ -124,7 +124,7 @@ rlJournalStart
# The shutdown of BFD should set BGP's status to idle.
rlRun "vtysh -N vns -c 'conf t' -c 'bfd' -c 'profile foo' -c 'shutdown'"
sleep 5s
sleep 10s
rlRun "vtysh -N vns -c 'show bgp neighbors' &> show-bgp-neighbors.log"
rlAssertNotGrep "BGP state = Established" show-bgp-neighbors.log
rlAssertGrep "BGP state = Idle" show-bgp-neighbors.log