summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-01-18 15:24:17 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-01-18 15:29:32 -0500
commita6782fbaf8dae32ca077d708cb94eb51a5440c19 (patch)
treed81dc201f27709be08becce7407ae3b1f5094b03
parent6483e73336eba47d3387d85c72472525b18d71ba (diff)
tests: zebra_netlink only gives 10 seconds to install all routes
Under really heavily loaded systems this is insufficient. Looking at the run output we have this: "2.1.3.22\/32":[ { "installed":true, } ], "2.1.3.23\/32":[ { "queued":true, } ], So after 10 seconds on the micronet system only 30 of the 100 routes are installed. Give it more time. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--tests/topotests/zebra_netlink/test_zebra_netlink.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/zebra_netlink/test_zebra_netlink.py b/tests/topotests/zebra_netlink/test_zebra_netlink.py
index ca90c5cb15..6d7b99291a 100644
--- a/tests/topotests/zebra_netlink/test_zebra_netlink.py
+++ b/tests/topotests/zebra_netlink/test_zebra_netlink.py
@@ -109,7 +109,7 @@ def test_zebra_netlink_batching(tgen):
pfx = str(ipaddress.ip_network((i, 32)))
match[pfx] = [dict(entry, prefix=pfx)]
- ok = topotest.router_json_cmp_retry(r1, "show ip route json", match)
+ ok = topotest.router_json_cmp_retry(r1, "show ip route json", match, False, 30)
assert ok, '"r1" JSON output mismatches'
r1.vtysh_cmd("sharp remove routes 2.1.3.7 " + str(count))