From deb7896711f4c4c4142907ba447e93eade8a0e56 Mon Sep 17 00:00:00 2001 From: abdosi <58047199+abdosi@users.noreply.github.com> Date: Tue, 24 Nov 2020 17:42:15 -0800 Subject: [PATCH] updated the test case to disable the service directly (#2577) Use systemctl stop teamd instead of config feature. Changes trigger because of Azure/sonic-buildimage#6000 --- tests/pc/test_po_cleanup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pc/test_po_cleanup.py b/tests/pc/test_po_cleanup.py index 9ea7d8744d2..34387cffa50 100644 --- a/tests/pc/test_po_cleanup.py +++ b/tests/pc/test_po_cleanup.py @@ -51,7 +51,7 @@ def test_po_cleanup(duthosts, rand_one_dut_hostname): try: logging.info("Disable Teamd Feature") - duthost.shell("sudo config feature state teamd disabled") + duthost.shell("sudo systemctl stop teamd") # Check if Linux Kernel Portchannel Interface teamdev are clean up if not wait_until(10, 1, check_kernel_po_interface_cleaned, duthost): fail_msg = "PortChannel interface still exists in kernel"