Skip to content

Commit

Permalink
Increase the check option of config reload in fixture simulate_small_…
Browse files Browse the repository at this point in the history
…var_log_partition (sonic-net#14478)

It would leave a clean environment for test case test_orchagent_logrotate

Change-Id: Ia1b0251c05e5cc8cda931e72df7a1f3aa305fc4a
  • Loading branch information
echuawu authored Oct 23, 2024
1 parent 3cfa97e commit d58c860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/syslog/test_logrotate.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def simulate_small_var_log_partition(rand_selected_dut, localhost):
logger.info('Remove the small var log partition')
duthost.shell('sudo rm -f log-new-partition')

config_reload(duthost, safe_reload=True)
config_reload(duthost, safe_reload=True, check_intf_up_ports=True, wait_for_bgp=True)

logger.info('Restart logrotate-config service')
duthost.shell('sudo service logrotate-config restart')
Expand Down

0 comments on commit d58c860

Please sign in to comment.