diff --git a/tests/route/test_route_consistency.py b/tests/route/test_route_consistency.py index 47f13f00640..e692bb4acae 100644 --- a/tests/route/test_route_consistency.py +++ b/tests/route/test_route_consistency.py @@ -31,7 +31,7 @@ def get_route_prefix_snapshot_from_asicdb(self, duthosts): for idx, dut in enumerate(duthosts.frontend_nodes): for asic in dut.asics: dut_instance_name = dut.hostname + '-' + str(asic.asic_index) - if dut.facts['switch_type'] in ["voq", "chassis_packet"] and idx == 0: + if dut.facts['switch_type'] in ["voq", "chassis-packet"] and idx == 0: dut_instance_name = dut_instance_name + "UpstreamLc" prefix_snapshot[dut_instance_name] = \ set(self.extract_dest_ips(asic.run_sonic_db_cli_cmd('ASIC_DB KEYS *ROUTE_ENTRY*')['stdout_lines']))