From c8a947e12bbbcc16d6057975bf7c65661db2fc86 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 15 Oct 2024 09:51:08 -0400 Subject: [PATCH] tests: iproute2_check_path_selection call the actual command For some reason this was missing. Signed-off-by: Donald Sharp --- tests/topotests/lib/common_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/topotests/lib/common_check.py b/tests/topotests/lib/common_check.py index 19f02dbadc..b04b9de44e 100644 --- a/tests/topotests/lib/common_check.py +++ b/tests/topotests/lib/common_check.py @@ -58,7 +58,7 @@ def iproute2_check_path_selection(router, ipaddr_str, expected, vrf_name=None): else: cmdstr = f"ip -json route show {ipaddr_str}" try: - output = json.loads(cmdstr) + output = json.loads(router.cmd(cmdstr)) except: output = [] -- 2.39.5