Skip to content

Commit

Permalink
[neighsyncd] increase neighsyncd timeout (sonic-net#2209)
Browse files Browse the repository at this point in the history
- What I did
Increased the neighsyncd timeout.

- Why I did it
Restore_neigh takes a bit more time to start thus it could be that the neighsyncd timeout is not enough to wait for restore_neighbors

- How I verified it
py.test platform_tests/test_advanced_reboot.py::test_warm_reboot_sad[sad_lag_member] --inventory="../ansible/inventory,../ansible/veos" --host-pattern arc-switch1004 --module-path ../ansible/library/ --testbed arc-switch1004-t0-56 --testbed_file ../ansible/testbed.csv --allow_recover --log-cli-level info --skip_sanity

Signed-off-by: Stepan Blyschak <[email protected]>
  • Loading branch information
stepanblyschak authored Mar 31, 2022
1 parent 0f06910 commit 5575935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neighsyncd/neighsync.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* service to finish, should be longer than the restore_neighbors timeout value (110)
* This should not happen, if happens, system is in a unknown state, we should exit.
*/
#define RESTORE_NEIGH_WAIT_TIME_OUT 120
#define RESTORE_NEIGH_WAIT_TIME_OUT 180

namespace swss {

Expand Down

0 comments on commit 5575935

Please sign in to comment.