From a51e101ed34c13bd9624d4e8a5d79b18db11ed6c Mon Sep 17 00:00:00 2001 From: Vivek Kumar Verma Date: Tue, 19 Nov 2024 05:27:24 +0000 Subject: [PATCH] Fix routes/test_route_perf.py --- tests/route/test_route_perf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/route/test_route_perf.py b/tests/route/test_route_perf.py index 3488792e9d8..d54f46d95ca 100644 --- a/tests/route/test_route_perf.py +++ b/tests/route/test_route_perf.py @@ -65,7 +65,7 @@ def check_config(duthosts, enum_rand_one_per_hwsku_frontend_hostname, enum_rand_ if (asic == "broadcom"): broadcom_cmd = "bcmcmd -n " + str(asic_id) if duthost.is_multi_asic else "bcmcmd" - alpm_cmd = "{} {}".format(broadcom_cmd, "conf show l3_alpm_enable") + alpm_cmd = "{} {}".format(broadcom_cmd, '"conf show l3_alpm_enable"') alpm_enable = duthost.command(alpm_cmd)["stdout_lines"][2].strip() logger.info("Checking config: {}".format(alpm_enable)) pytest_assert(alpm_enable == "l3_alpm_enable=2", "l3_alpm_enable is not set for route scaling")