Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do neighbor VM restore only if there's VM's (sonic-net#4015)
Execute the logic of neighbor_vm_restore only in cases where vm_neighbors is not an empty list. Summary: Function neighbor_vm_restore is run during sanity in cases of failure in the setup. However in setups that do not include VM's this function is causing errors in the test. It is more correct to run the recover logic only if the vm_neighbors list is not empty. that way we could avoided such errors and the function is more correct. - How did you do it? Add an if statement to function - How did you verify/test it? I run the tests with sanity afterward and verified they passed - Any platform specific information? It's relevant to all platforms
- Loading branch information