diff options
| author | Carmine Scarpitta <cscarpit@cisco.com> | 2025-02-16 10:23:07 +0100 |
|---|---|---|
| committer | Carmine Scarpitta <cscarpit@cisco.com> | 2025-02-16 11:01:01 +0100 |
| commit | 206a647ea64b4810386b718efe83ffb734f18bd9 (patch) | |
| tree | 0b2715875174e47dccaa015e4d32d99de714d887 | |
| parent | d8483f410eb6896e57ba625dd534320dc29e14e4 (diff) | |
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>
| -rwxr-xr-x | tests/topotests/srv6_encap_src_addr/test_srv6_encap_src_addr.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/topotests/srv6_encap_src_addr/test_srv6_encap_src_addr.py b/tests/topotests/srv6_encap_src_addr/test_srv6_encap_src_addr.py index 271f54885a..da26a739a2 100755 --- a/tests/topotests/srv6_encap_src_addr/test_srv6_encap_src_addr.py +++ b/tests/topotests/srv6_encap_src_addr/test_srv6_encap_src_addr.py @@ -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' |
