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:
Carmine Scarpitta 2025-02-16 10:23:07 +01:00
parent d8483f410e
commit 206a647ea6

View File

@ -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'