]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: zebra_rib route-map run times fixup
authorDonald Sharp <sharpd@nvidia.com>
Sat, 1 Jul 2023 17:27:52 +0000 (13:27 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 10 Jul 2023 13:06:40 +0000 (09:06 -0400)
I have a local test run where the sharp route-map usage
was being checked for 5 seconds.  I saw usages going up
for each 1 second check and the 5th one was at 497 out
of 500.  Looks like the system was really loaded.  Let's
give it more time to coalesce under heavy load.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/zebra_rib/test_zebra_rib.py

index c45ac82d3000b928f7ed868502e45156c7ffa09d..05036fa7ad47cb6c743f92eac5531ffaab05f1f9 100644 (file)
@@ -255,7 +255,7 @@ def test_route_map_usage():
         )
 
     ok, result = topotest.run_and_expect(
-        check_static_map_correct_runs, "", count=5, wait=1
+        check_static_map_correct_runs, "", count=10, wait=1
     )
     assert ok, result
 
@@ -275,7 +275,7 @@ def test_route_map_usage():
         )
 
     ok, result = topotest.run_and_expect(
-        check_sharp_map_correct_runs, "", count=5, wait=1
+        check_sharp_map_correct_runs, "", count=10, wait=1
     )
     assert ok, result