-
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.
[Snappi] Change multidut reboot cases to use enum with completeness_l…
…evel (#15057) Description of PR Summary: Fixes #14639 After the change: module running time(T0/T1) before fix (mins) running time(T0/T1) after fix (mins) test_multidut_pfcwd_basic_with_snappi.py 167.13 112.48 test_multidut_pfc_pause_lossy_with_snappi.py 295.25 86.53 test_multidut_pfc_pause_lossless_with_snappi.py 140.87 65.70 Approach What is the motivation for this PR? Current snappi multidut test cases took too long to run. How did you do it? Use rand_lossless_prio/rand_lossy_prio instead of enum_dut_lossless_prio/enum_dut_lossy_prio in the reboot test cases. This is the same method used in the existing T0/T1 snappi test cases. Add skip warm reboot check in test_multidut_pfcwd_basic_with_snappi.py Use set() to avoid rebooting same DUT several times. How did you verify/test it? Verified on physical testbed. co-authorized by: [email protected]
- Loading branch information
1 parent
41ed381
commit f6b2627
Showing
4 changed files
with
44 additions
and
16 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