Commit bb08f4379c for frr

commit bb08f4379c5d344fde4c2b380f8e3676846fc562
Author: Mark Stapp <mjs@cisco.com>
Date:   Wed Sep 23 13:25:03 2026 -0400

    tests: clean up fpm early local and remote route testcase

    There were a couple of test cases that dumped the fpm output
    once then looped over it 30 times looking for an entry.
    But if the entry wasn't present in the file, it wasn't
    going to appear on the 29th check. Stop doing that inner loop
    and just dump the output and check it once per second.

    Signed-off-by: Mark Stapp <mjs@cisco.com>

diff --git a/tests/topotests/fpm_testing_topo1/test_fpm_topo1.py b/tests/topotests/fpm_testing_topo1/test_fpm_topo1.py
index a051cc3df6..3bf4f5e2a0 100644
--- a/tests/topotests/fpm_testing_topo1/test_fpm_topo1.py
+++ b/tests/topotests/fpm_testing_topo1/test_fpm_topo1.py
@@ -176,25 +176,13 @@ def test_fpm_connected_and_local_routes():
         if not dump_fpm_listener_data():
             return 0

-        def check_route():
-            return check_specific_route("10.10.10.0/24")
-
-        success, result = topotest.run_and_expect(
-            check_route, router_count, count=30, wait=0.5
-        )
-        return result if success else 0
+        return check_specific_route("10.10.10.0/24")

     def check_r1_local_routes():
         if not dump_fpm_listener_data():
             return 0

-        def check_route():
-            return check_specific_route("10.10.10.10/32")
-
-        success, result = topotest.run_and_expect(
-            check_route, router_count, count=30, wait=0.5
-        )
-        return result if success else 0
+        return check_specific_route("10.10.10.10/32")

     success, result = topotest.run_and_expect(
         check_r1_connected_routes, router_count, count=30, wait=1
@@ -218,11 +206,12 @@ def test_fpm_connected_and_local_routes():
     success, result = topotest.run_and_expect(
         check_r1_connected_routes, router_count, count=30, wait=1
     )
-    assert success, f"Failed to find {result} connected routes"
+    assert success, f"Failed to find 10.10.10.0/24 connected route"
+
     success, result = topotest.run_and_expect(
         check_r1_local_routes, router_count, count=30, wait=1
     )
-    assert success, f"Failed to find {result} local routes"
+    assert success, f"Failed to find 10.10.10.10/32 local route"


 def _get_nhg_for_prefix(router, prefix):