From 8d6765aa6d58f2064cabcf0111fa488e2c3550cf Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Sat, 8 Apr 2023 00:01:33 +0000 Subject: [PATCH] tests: fix cause of intermittent failure Signed-off-by: Christian Hopps --- tests/topotests/rip_allow_ecmp/test_rip_allow_ecmp.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/topotests/rip_allow_ecmp/test_rip_allow_ecmp.py b/tests/topotests/rip_allow_ecmp/test_rip_allow_ecmp.py index 138e364339..b0ba146984 100644 --- a/tests/topotests/rip_allow_ecmp/test_rip_allow_ecmp.py +++ b/tests/topotests/rip_allow_ecmp/test_rip_allow_ecmp.py @@ -52,7 +52,9 @@ def test_rip_allow_ecmp(): r1 = tgen.gears["r1"] def _show_rip_routes(): - output = json.loads(r1.vtysh_cmd("show yang operational-data /frr-ripd:ripd ripd")) + output = json.loads( + r1.vtysh_cmd("show yang operational-data /frr-ripd:ripd ripd") + ) try: output = output["frr-ripd:ripd"]["instance"][0]["state"]["routes"] except KeyError: @@ -83,7 +85,6 @@ def test_rip_allow_ecmp(): ] }, "metric": 2, - "next-hop": "192.168.1.2" }, ] } -- 2.39.5