diff options
| author | Christian Hopps <chopps@labn.net> | 2021-09-06 04:16:15 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2021-09-08 15:25:52 -0400 |
| commit | 1375385adf6bfd89d0bcffeec85596783addda0a (patch) | |
| tree | ca541b178cb49d12c6956e5ea93fd38d74212de2 /tests/topotests/lib/common_config.py | |
| parent | 75ec7bdb5dfc8c68ee8c50d19ac456ccd002b2bc (diff) | |
tests: increase wait and update test
Modernize the test a bit, generate expected results rather than load from
file, and add a general json_cmp with retry function and use it.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/lib/common_config.py')
| -rw-r--r-- | tests/topotests/lib/common_config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py index 54020d2ff9..1bce3c6bb2 100644 --- a/tests/topotests/lib/common_config.py +++ b/tests/topotests/lib/common_config.py @@ -44,6 +44,7 @@ from lib.micronet import comm_error from lib.topogen import TopoRouter, get_topogen from lib.topolog import get_logger, logger from lib.topotest import frr_unicode, interface_set_status, version_cmp +from lib import topotest FRRCFG_FILE = "frr_json.conf" FRRCFG_BKUP_FILE = "frr_json_initial.conf" |
