mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 12:41:21 +00:00
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:
parent
74542e1fc1
commit
eb186bcdad
@ -153,7 +153,7 @@ def test_zebra_kernel_admin_distance():
|
|||||||
# metric. That needs to be properly resolved. Making a note for
|
# metric. That needs to be properly resolved. Making a note for
|
||||||
# coming back around later and fixing this.
|
# coming back around later and fixing this.
|
||||||
# tgen.mininet_cli()
|
# tgen.mininet_cli()
|
||||||
for i in range(1, 2):
|
for i in range(1, 3):
|
||||||
json_file = "{}/r1/v4_route_{}.json".format(CWD, i)
|
json_file = "{}/r1/v4_route_{}.json".format(CWD, i)
|
||||||
expected = json.loads(open(json_file).read())
|
expected = json.loads(open(json_file).read())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user