Skip to content

Commit 144a5e3

Browse files
Fix tests/common/snappi_tests/traffic_generation.py
reboot call is still using the outdated argument `plt_reboot_ctrl_overwrite` instead of `return_after_reconnect` that was introduced in #16031
1 parent cbc714b commit 144a5e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/common/snappi_tests/traffic_generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ def run_traffic(duthost,
465465
# The 'wait' parameter should ideally be set to 0, but since reboot overwrites 'wait' if it is 0, I have
466466
# set it to a very small positive value instead.
467467
reboot(duthost, snappi_extra_params.localhost, reboot_type=snappi_extra_params.reboot_type,
468-
delay=0, wait=0.01, plt_reboot_ctrl_overwrite=False)
468+
delay=0, wait=0.01, return_after_reconnect=True)
469469

470470
# Test needs to run for at least 10 seconds to allow successive device polling
471471
if snappi_extra_params.poll_device_runtime and exp_dur_sec > 10:

0 commit comments

Comments
 (0)