]> git.puffer.fish Git - mirror/frr.git/commit
tests: Allow mgmtd and zebra to fully come up before other daemons
authorDonald Sharp <sharpd@nvidia.com>
Fri, 7 Mar 2025 23:35:53 +0000 (18:35 -0500)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Sun, 9 Mar 2025 03:53:04 +0000 (03:53 +0000)
commit6122c87b377d1da14ee31b2136fc718fbb9ae434
treed4190a20345df82f1851194aa403cd84d4a903eb
parenta40c800c2e1ade525c7a3fa5f67dedb4c853234f
tests: Allow mgmtd and zebra to fully come up before other daemons

Currently the topotest infrastructure is starting up daemons
in mgmtd,zebra, staticd then everything else.

The problem that is happening, under heavy load, is that
zebra may not be fully started and when a daemon attempts
to connect to it, it will not be able to connect.
Some of the daemons do not have great retry mechanisms at all.
In addition our normal systemctl startup scripts actually
wait a small amount of time for zebra to be ready before
moving onto the other daemons.

Let's make topotests startup a tiny bit more nuanced
and have mgmtd fully up before starting up zebra.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit dd609bc069857a38ff3577b76d0b9ef708b8d2aa)
tests/topotests/lib/topotest.py