From eb186bcdad519f6fa2a15612e99101ae7986e771 Mon Sep 17 00:00:00 2001 From: Louis Scalbert Date: Mon, 23 Sep 2024 17:57:48 +0200 Subject: [PATCH] tests: fix zebra_rib range Range is wrong. We want values 1 and 2 but we only test 1. > >>> for i in range(1, 2): > ... print(i) > ... > 1 Fixes: abd2a1ff3f ("tests: Test some basic kernel <-> zebra interactions") Signed-off-by: Louis Scalbert --- tests/topotests/zebra_rib/test_zebra_rib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/topotests/zebra_rib/test_zebra_rib.py b/tests/topotests/zebra_rib/test_zebra_rib.py index 93296cd51aa6..c0a79ed79d8c 100644 --- a/tests/topotests/zebra_rib/test_zebra_rib.py +++ b/tests/topotests/zebra_rib/test_zebra_rib.py @@ -153,7 +153,7 @@ def makekmetric(dist, metric): # metric. That needs to be properly resolved. Making a note for # coming back around later and fixing this. # tgen.mininet_cli() - for i in range(1, 2): + for i in range(1, 3): json_file = "{}/r1/v4_route_{}.json".format(CWD, i) expected = json.loads(open(json_file).read())