]> git.puffer.fish Git - mirror/frr.git/commit
tests: improve bgp test determinism 13522/head
authorChristian Hopps <chopps@labn.net>
Sat, 13 May 2023 00:32:54 +0000 (20:32 -0400)
committerChristian Hopps <chopps@labn.net>
Sat, 13 May 2023 00:36:50 +0000 (20:36 -0400)
commit44701495bb5fbd5fcccd4e5c9df2c22603718ff6
treeff8e70af34ee27649395aee27c09df52428da99e
parente8224402cd05ffa95f082782e92b98b7fc78b049
tests: improve bgp test determinism

don't grep the tail of a log file after running a previous test, there could be
(and have been) other items added to the log in between.

add before and after count of shutdown messages to very the actual message shows
up as the test intended, and keep the search for the shutdown message.

Signed-off-by: Christian Hopps <chopps@labn.net>
tests/topotests/bgp_features/test_bgp_features.py