Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions tests/common/fixtures/ptfhost_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,17 +269,8 @@ def run_icmp_responder_session(duthosts, duthost, ptfhost, tbinfo):

yield

if "dualtor-mixed" in tbinfo["topo"]["name"] or "dualtor-aa" in tbinfo["topo"]["name"]:
logger.info("Leave icmp_responder running for dualtor-mixed/dualtor-aa topology")
return

logger.info("Stop running icmp_responder")
ptfhost.shell("supervisorctl stop icmp_responder")
icmp_responder_session_started = False

logger.info("Recover linkmgrd probe interval")
recover_linkmgrd_probe_interval(duthosts, tbinfo)
duthosts.shell("config save -y")
logger.info("Leave icmp_responder running for dualtor/dualtor-mixed/dualtor-aa topology")
return


@pytest.fixture(scope="module", autouse=True)
Expand Down