]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: Fix route-scale at higher ecmp
authorDonald Sharp <sharpd@nvidia.com>
Tue, 27 Aug 2024 14:29:13 +0000 (10:29 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 28 Aug 2024 19:18:24 +0000 (15:18 -0400)
Recent commits moved the default retries to 60, but
the higher ecmp counts were over-riding to 40.  Let's
make it 80.

Noticed this when I went looking at failures on 386 platforms
in our ci.  Route scale is timing out when deleting routes.

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

index 4b19bebe677d2a220d3971589bfc8deb82dece8c..bb95c660316840117e83613651f00613db9e2e10 100644 (file)
@@ -119,7 +119,11 @@ def run_one_setup(r1, s):
             count = d["rib"]
             break
 
-    logger.info("Testing {} routes X {} ecmp".format(count, s["ecmp"]))
+    logger.info(
+        "Testing {} routes X {} ecmp, waiting {} retries {}".format(
+            count, s["ecmp"], wait, retries
+        )
+    )
 
     r1.vtysh_cmd(
         "sharp install route 1.0.0.0 \
@@ -193,8 +197,8 @@ def route_install_helper(iter):
         [2, "two"],
         [4, "four"],
         [8, "eight"],
-        [16, "sixteen", 10, 40],
-        [32, "thirtytwo", 10, 40],
+        [16, "sixteen", 10, 80],
+        [32, "thirtytwo", 10, 80],
     ]
 
     # Build up a list of dicts with params for each step of the test;