-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the issue when persistent DVS is used to run pytest which has num…
…ber of front-panel ports < 32 (#1373) * Fix the issue where persistent DVS is used to run pytest and ports are created dynamically (ref pr: sonic-net/sonic-buildimage#4499). There were two issues: a) since number of dynamic front port can be < 32 test case fails as it expect always 32. Make sure to udpate persitent DVS to always have 32 ports/server link as part of test run and save the current config db b) after test is done persistent DVS need to be moved to original state. Make dure to remove extra port/server link and restore back config db Signed-off-by: Abhishek Dosi <[email protected]> * Review Comments fix Signed-off-by: Abhishek Dosi <[email protected]> * Added option for force persitent dvs if port < 32 Updated Readme Signed-off-by: Abhishek Dosi <[email protected]> * Fix LGTM Signed-off-by: Abhishek Dosi <[email protected]> * Fix LGTM and compile error Signed-off-by: Abhishek Dosi <[email protected]> * Update tests/conftest.py Co-authored-by: Danny Allen <[email protected]> Co-authored-by: Danny Allen <[email protected]>
- Loading branch information
Showing
2 changed files
with
54 additions
and
4 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