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 <louis.scalbert@6wind.com>
This commit is contained in:
Louis Scalbert 2024-09-23 17:57:48 +02:00
parent 74542e1fc1
commit eb186bcdad

View File

@ -153,7 +153,7 @@ def test_zebra_kernel_admin_distance():
# 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())