]> git.proxmox.com Git - mirror_frr.git/commit
tests: Do not pick an ip address that overlaps with ourselves
authorDonald Sharp <sharpd@nvidia.com>
Wed, 24 Nov 2021 01:16:29 +0000 (20:16 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 24 Nov 2021 12:05:19 +0000 (07:05 -0500)
commit4b2e09df96c263009fd1061fbc3cc8ade9b62051
tree11f310d18f8c44f8af33f7dd241ad36b15bd596e
parent5b54e98b89f82dbf5c93840cc3b4e7d8e0017e19
tests: Do not pick an ip address that overlaps with ourselves

The ospf_basic_functionality/test_ospf_lan.py creates
a ethernet segment and attaches 4 routers to it and
assigns ip addresses in a /24.  As one of the tests
it picks a new address for r0 which coincides with
a ip address on r3.  Then the test immediatly
checks for other data.  The problem is of course
that if a test is `slow` enough hello's will
start to be ignored from r3 to r0 and the
neighbor relationships will come down.  Choose
an ip address that doesn't cause this issue.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/ospf_basic_functionality/test_ospf_lan.py