]> 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)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 7 Mar 2025 23:43:18 +0000 (18:43 -0500)
commitdd609bc069857a38ff3577b76d0b9ef708b8d2aa
treec14486f24d8c8bdb53213c2f6d4d4eda8b25150a
parent8f8d0923a7d0670abd48d3bc15a6c7a6296d6d2b
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>
tests/topotests/lib/topotest.py