Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for console availability validation (#4488)
Description of PR Summary: This PR adds a console availability test for virtual testbed. Approach What is the motivation for this PR? Testing other changes to SONiC will not accidentally cause the console to fail, so console access would be available when network is in unreachable state. How did you do it? Simulating console access on SONiC switch for each neighbor device. How did you verify/test it? Run test on virtual testbed with command: ./run_tests.sh -n vms-kvm-t0 -d vlab-01 -c console/test_console_availability.py -f vtestbed.csv -i veos_vtb -u And get output: console/test_console_availability.py::test_console_availability[1] PASSED [ 25%] console/test_console_availability.py::test_console_availability[2] PASSED [ 50%] console/test_console_availability.py::test_console_availability[3] PASSED [ 75%] console/test_console_availability.py::test_console_availability[4] PASSED [100%]
- Loading branch information