-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dualtor] Fix
test_link_failure
(#5771)
What is the motivation for this PR? For recent failures of test_link_failure.py: test_active_link_down_upstream test_active_link_down_downstream_active test_active_link_down_downstream_standby test_standby_link_down_upstream How did you do it? The failure of those four test cases is caused that one of the fanout connects to upper ToR being unreachable. The first three cases will fail when they are trying to shut down the fanout ports connected to the failed fanout, but they doesn't recover those ports that are successfully shut down. So those ports will be left admin down, so test_standby_link_down_upstream will suffer from the data plane IO issue. Improvements: Fix those fixtures that shut down fanout ports so that even if one fanout fails, those fixtures could recover those ports on other fanouts. Improve the data plane IO so if the action errors, the sender/sniffer will stop earlier. How did you verify/test it?
- Loading branch information
Showing
2 changed files
with
25 additions
and
9 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