diff --git a/tests/test_sub_port_intf.py b/tests/test_sub_port_intf.py index b0f2863aa673..748e680e2a13 100644 --- a/tests/test_sub_port_intf.py +++ b/tests/test_sub_port_intf.py @@ -1067,7 +1067,7 @@ def _test_sub_port_intf_removal(self, dvs, sub_port_intf_name, removal_seq_test= } rif_oid = self.get_newly_created_oid(ASIC_RIF_TABLE, old_rif_oids) #If subintf mtu deleted, it inherits from parent - if vrf_name == self.VRF_UNDER_TEST: + if vrf_name == self.VRF_UNDER_TEST or vrf_name == self.VNET_UNDER_TEST: if parent_port.startswith(ETHERNET_PREFIX): fv_dict["SAI_ROUTER_INTERFACE_ATTR_MTU"] = ETHERNET_PORT_DEFAULT_MTU self.check_sub_port_intf_fvs(self.asic_db, ASIC_RIF_TABLE, rif_oid, fv_dict)