From 11f2d8a04804881173171fe7236f99fbfe64b98c Mon Sep 17 00:00:00 2001 From: Abhishek Dosi Date: Mon, 23 Nov 2020 23:19:55 +0000 Subject: [PATCH] updated the test case to disable the service directly and not use config feature Signed-off-by: Abhishek Dosi --- 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 4b1f097c9c0..ae6e996f7c8 100644 --- a/tests/pc/test_po_cleanup.py +++ b/tests/pc/test_po_cleanup.py @@ -50,7 +50,7 @@ def test_po_cleanup(duthost): 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"