Skip to content

Commit 857e83e

Browse files
authored
[dualtor] Leave icmp_responder running on dualtor-mixed testbeds (#5972)
Approach What is the motivation for this PR? On dualtor-mixed testbeds, leave icmp_responder running to avoid introducing unnecessary toggles. Signed-off-by: Longxiang Lyu [email protected] How did you do it? Comment out the teardown to stop icmp_responder How did you verify/test it?
1 parent ca4d0fa commit 857e83e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/common/fixtures/ptfhost_utils.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,8 @@ def run_icmp_responder_session(duthosts, duthost, ptfhost, tbinfo):
229229

230230
yield
231231

232-
logging.info("Stop running icmp_responder")
233-
ptfhost.shell("supervisorctl stop icmp_responder")
234-
icmp_responder_session_started = False
232+
# NOTE: Leave icmp_responder running for dualtor-mixed topology
233+
return
235234

236235

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

0 commit comments

Comments
 (0)