Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[action] [PR:16252] Add safe_reload and interface check for process monitoring and container check tests #16257

Merged
merged 1 commit into from
Dec 29, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion tests/container_checker/test_container_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def config_reload_after_tests(duthosts, selected_rand_one_per_hwsku_hostname):
for hostname in selected_rand_one_per_hwsku_hostname:
duthost = duthosts[hostname]
logger.info("Reload config on DuT '{}' ...".format(duthost.hostname))
config_reload(duthost)
config_reload(duthost, safe_reload=True, check_intf_up_ports=True, wait_for_bgp=True)
postcheck_critical_processes_status(duthost, up_bgp_neighbors[duthost])


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
def config_reload_after_tests(duthosts, rand_one_dut_hostname):
duthost = duthosts[rand_one_dut_hostname]
yield
config_reload(duthost)
config_reload(duthost, safe_reload=True, check_intf_up_ports=True, wait_for_bgp=True)


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