]> git.puffer.fish Git - mirror/frr.git/commit
lib: implement standardized compare functions
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Fri, 3 Aug 2018 16:23:52 +0000 (13:23 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Nov 2018 01:22:14 +0000 (20:22 -0500)
commit5cffda18823fc27f4aa1eddef87f7e137267401a
tree6bf95954d06601230222a9107a2d221c4a600ccd
parent9683a1bb50b71d7cc7caaf7905ce9f5576c293c5
lib: implement standardized compare functions

In a effort to migrate more tests to use `run_and_expect` instead of
`sleep`s, this commit imports some common functions used to compare
router output. Retrying output comparison for N times, instead of
relying on arbitrary code `sleep`s, should help CI system tests fail
less and possibly run for less time.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
tests/topotests/lib/topotest.py