]> git.proxmox.com Git - mirror_frr.git/commit - tests/topotests/all_protocol_startup/test_all_protocol_startup.py
tests: All_protocol_startup sporadic failure
authorDonald Sharp <sharpd@nvidia.com>
Mon, 1 Nov 2021 19:08:50 +0000 (15:08 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 1 Nov 2021 19:12:23 +0000 (15:12 -0400)
commit0567f3a9f3f1ad466cf924b04032c55e15ff4a12
tree0314be470dca9e4778d65ae52e1910f7fc5b3979
parent65a69156b247a71bb3b429ea665334f36d06fba7
tests: All_protocol_startup sporadic failure

the test_nexthop_groups function is failing occassionally
because the test executes 4 in succession sharp install
routes commands.  When I dumped the rib on a failed test
run there were only 2 of the 4 routes in the rib and
the two that were in were the last 2 installed.
The sharp daemon setups a event process where it
installs routes `automatically`.  If the previous
run is not finished entering a new command to install
the routes will mess up the last one from ever happening.
It is assumed that the user doesn't do stupid stuff here.
In this case I am just adding a small sleep between each
installation to just let the test proceed.

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