mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-13 20:31:31 +00:00
tests: Increase retry timeout in srv6_encap_src_addr
topotest
The `srv6_encap_src_addr` topotest uses a waiting time that is too small. For this reason during startup it prints a warning: ``` 2025-02-16 09:23:47,704 WARNING: topo: Waiting time is too small (count=10, wait=1), using default values (count=20, wait=3) ``` This commit increases the waiting time to fix the warning. Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
This commit is contained in:
parent
d8483f410e
commit
206a647ea6
@ -64,7 +64,7 @@ def test_zebra_srv6_encap_src_addr(tgen):
|
||||
expected = json.loads(open(json_file).read())
|
||||
|
||||
ok = topotest.router_json_cmp_retry(
|
||||
r1, "show segment-routing srv6 manager json", expected
|
||||
r1, "show segment-routing srv6 manager json", expected, retry_timeout=15
|
||||
)
|
||||
assert ok, '"r1" JSON output mismatches'
|
||||
|
||||
@ -93,7 +93,7 @@ def test_zebra_srv6_encap_src_addr_unset(tgen):
|
||||
expected = json.loads(open(json_file).read())
|
||||
|
||||
ok = topotest.router_json_cmp_retry(
|
||||
r1, "show segment-routing srv6 manager json", expected
|
||||
r1, "show segment-routing srv6 manager json", expected, retry_timeout=15
|
||||
)
|
||||
assert ok, '"r1" JSON output mismatches'
|
||||
|
||||
@ -122,7 +122,7 @@ def test_zebra_srv6_encap_src_addr_set(tgen):
|
||||
expected = json.loads(open(json_file).read())
|
||||
|
||||
ok = topotest.router_json_cmp_retry(
|
||||
r1, "show segment-routing srv6 manager json", expected
|
||||
r1, "show segment-routing srv6 manager json", expected, retry_timeout=15
|
||||
)
|
||||
assert ok, '"r1" JSON output mismatches'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user