Skip to content

Commit

Permalink
Add wait_for_bgp
Browse files Browse the repository at this point in the history
  • Loading branch information
yejianquan committed Dec 27, 2024
1 parent bed09f7 commit e154698
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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, safe_reload=True, check_intf_up_ports=True)
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, safe_reload=True, check_intf_up_ports=True)
config_reload(duthost, safe_reload=True, check_intf_up_ports=True, wait_for_bgp=True)


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

0 comments on commit e154698

Please sign in to comment.