forked from sonic-net/sonic-mgmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test_fib] Improve test_fib (sonic-net#4193)
Approach What is the motivation for this PR? Improve test_fib stability over dualtor testbed How did you do it? Add a few improvements: For test_basic_fib: 1.1 Add back the logic to toggle the ports to random side. 1.2 Use fixture toggle_all_simulator_ports_to_random_side to do the toggle instead and add extra check _check_mux_status_consistency to ensure the mux status from the DUTs and mux simulator is consistent after the toggle. For test_hash: 2.1 Use toggle_all_simulator_ports_to_rand_selected_tor to do the toggle because it has check to verify the toggle. Signed-off-by: Longxiang Lyu [email protected] How did you verify/test it? Run it over dualtor, t0 and t1 testbed.
- Loading branch information
1 parent
5aec025
commit a0ebaa0
Showing
2 changed files
with
68 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters