Skip to content

Commit

Permalink
updated the test case to disable the service directly (#2577)
Browse files Browse the repository at this point in the history
Use systemctl stop teamd instead of config feature.
Changes trigger because of sonic-net/sonic-buildimage#6000
  • Loading branch information
abdosi authored Nov 25, 2020
1 parent c575ec1 commit deb7896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pc/test_po_cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit deb7896

Please sign in to comment.