-
Notifications
You must be signed in to change notification settings - Fork 715
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[drop_packets]: Skip counter check for some tests (#4132)
What is the motivation for this PR? Recent SAI changes on some platforms cause some dropped packets to not be added to the RX_DRP counter How did you do it? If the DUT used for the test has the SAI change applied (sai_adjust_acl_drop_in_rx_drop), do not check the RX_DRP counter for the following test cases: IP packet with TTL=0 IP packet with broken header IP packet with missing header Instead, for these cases only look at traffic forwarding behavior to determine if the test passes (packets generated by these tests should all be dropped and not forwarded by the DUT). How did you verify/test it? Run the tests on platforms with the new SAI change and verify they pass Signed-off-by: Lawrence Lee <[email protected]>
- Loading branch information
1 parent
f6586d6
commit 1965a7d
Showing
2 changed files
with
39 additions
and
10 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