-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connectivity: Flag for expected XFRM errors
We have a couple XFRM errors, XfrmInError and XfrmFwdHdrError, that can be expected to slightly increase in specific scenarios. Those have started occuring in CI so we need a way to ignore them. This commit implements that, as well as a connectivity test flag to control the list of XFRM errors to ignore. This is similar to what I did for drop reasons in commit 4880c91 ("connectivity: Check for unexpected packet drops") and b5e40ba ("connectivity: Add flag --expected-drop-reasons"). In addition, because those errors are only expected to happen in very small amount, we only ignore them if there are less than 10 such errors. It is critical that we fail tests if these errors become more frequent. Signed-off-by: Paul Chaignon <[email protected]>
- Loading branch information
Showing
5 changed files
with
27 additions
and
8 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
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
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