-
Notifications
You must be signed in to change notification settings - Fork 747
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update percentage threshold based on DUT memory (#16671)
Summary For Nokia-7215 which has only 3GB memory, diff percentage threshold 8% is not enough. In this PR, I updated the threshold as below: * DUT memory in [4GB, +inf): 4% <-- Same as current impl. * DUT memory in (3GB, 4GB] : 8% <-- Arista-7050QX still fall in this range (as current impl) * DUT memory in (2GB, 3GB] : 10% <-- Nokia-7215 will fall in this range * DUT memory in (0, 2GB] : 12% <-- Same as current impl. Enhance the test failure message to print more information. Below are the new failure message What is the motivation for this PR? For Nokia-7215 which has only 3GB memory, diff percentage threshold 8% is not enough. Enhance the test failure message to print more information. How did you verify/test it? Verified on Nokia 7215 M0 testbed.
- Loading branch information
1 parent
85071f9
commit 6378d5b
Showing
1 changed file
with
35 additions
and
24 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