]> git.proxmox.com Git - mirror_frr.git/commit
tests: Do not try establishing a connection from r1 to r2
authorDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 26 Apr 2023 18:51:33 +0000 (21:51 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 26 Apr 2023 18:51:33 +0000 (21:51 +0300)
commit47074a99e44c14957b143379fd17655a9329c268
tree5270b4300d7ed4679df14b1b4ba0f5d51e2422bd
parent257fddaeb6b2d0d1fed40164ffd54fae04bcddda
tests: Do not try establishing a connection from r1 to r2

If r1 becomes the "server" (= local port 179), then it initiates the connection
after sending BGP Notification (BFD Down) and r2 resets the last error code.

Telling r1 do not connect to r2, fixes the issue.

Tested with `pytest -s -n 48` at least 20 times - no failures.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
tests/topotests/bgp_bfd_down_cease_notification/r1/bgpd.conf
tests/topotests/bgp_bfd_down_cease_notification/r2/bgpd.conf
tests/topotests/bgp_bfd_down_cease_notification/test_bgp_bfd_down_cease_notification.py