-
Notifications
You must be signed in to change notification settings - Fork 684
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[pytest][qos][config] Added pytests for "config qos reload" commands #1266
Conversation
retest this please |
👋 |
retest this please |
1 similar comment
retest this please |
Gentle reminder @neethajohn @abdosi |
retest this please |
retest this please |
3 similar comments
retest this please |
retest this please |
retest this please |
this commit caused vkm test failure https://sonic-jenkins.westus2.cloudapp.azure.com/job/vs/job/buildimage-vs-image-pr/8207/ it is reverted, can you resubmit the pr? |
taking a look, will resubmit. |
Added the offending API |
…eload" commands (sonic-net#1266)"" This reverts commit de14939. The commit was reverted due to a failure in sonic-buildimage unit tests, which was due to an un-implemented API. This is now fixed in PR #6309 (sonic-buildimage)
…onic-net#1266) Added pytests for "config qos reload" commands.
…ommands (sonic-net#1266)" This reverts commit 6202a81.
- What I did
Added pytests for "config qos reload" commands for single and multi ASIC platforms.
- How I did it
Since 'config qos reload' command invokdes'sonic-cfggen' process, add a "--dry-run" option to 'config qos reload' command so that it passes the right parameters to 'sonic-cfggen' to not 'read and write' to config DB in unit test env. Also added '--json-data' option that gives flexibility to test variable parameters like tiers and switch roles.
- How to verify it
Unit test.
- Previous command output (if the output of a command-line utility has changed)
- New command output (if the output of a command-line utility has changed)