diff --git a/tests/iface_namingmode/test_iface_namingmode.py b/tests/iface_namingmode/test_iface_namingmode.py index 94e070d8c15..1d0c571549c 100644 --- a/tests/iface_namingmode/test_iface_namingmode.py +++ b/tests/iface_namingmode/test_iface_namingmode.py @@ -4,7 +4,7 @@ import ipaddress from tests.common.devices.base import AnsibleHostBase -from tests.common.utilities import wait, wait_until, delete_running_config +from tests.common.utilities import wait, wait_until from netaddr import IPAddress from tests.common.helpers.assertions import pytest_assert from tests.common.helpers.sonic_db import redis_get_keys @@ -820,13 +820,6 @@ def test_config_interface_speed(self, setup_config_mode, sample_intf, assert speed == configure_speed - # Remove interface pg config - pg_lossless_key = "pg_lossless_" + str(speed) + "_300m_profile" - delete_keys_json = [{"BUFFER_PROFILE": { - pg_lossless_key: {} - }}] - delete_running_config(delete_keys_json, duthost) - out = dutHostGuest.shell('SONIC_CLI_IFACE_MODE={} sudo config interface {} speed {} {}'.format( ifmode, cli_ns_option, test_intf, native_speed)) if out['rc'] != 0: