Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ecnconfig] Fix exception seen during display and add unit tests #1784

Merged
merged 7 commits into from
Aug 30, 2021

Conversation

neethajohn
Copy link
Contributor

Fixes sonic-net/sonic-buildimage#8323 and added unit tests for all ecn queue configs. This regression was caused because the current ecn unit tests didn't cover the queue configs.

How to verify it

Ran tests/ecn_test.py and all cases passed

@neethajohn
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

yxieca
yxieca previously approved these changes Aug 27, 2021
Copy link
Contributor

@yxieca yxieca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address the duplicate code. Others LGTM

@neethajohn neethajohn merged commit 3e8626e into sonic-net:master Aug 30, 2021
@neethajohn neethajohn deleted the ecnq_fix branch August 30, 2021 15:27
neethajohn added a commit to neethajohn/sonic-utilities that referenced this pull request Aug 30, 2021
…ic-net#1784)

Fixes sonic-net/sonic-buildimage#8323 and added unit tests for all ecn queue configs. This regression was caused because the current ecn unit tests didn't cover the queue configs.

Signed-off-by: Neetha John <[email protected]>

How to verify it
Ran tests/ecn_test.py and all cases passed
qiluo-msft pushed a commit that referenced this pull request Sep 2, 2021
…) (#1789)

This is to backport #1784

#### How to verify it
Ecn tests have passed in the PR build run
judyjoseph pushed a commit that referenced this pull request Sep 2, 2021
Fixes sonic-net/sonic-buildimage#8323 and added unit tests for all ecn queue configs. This regression was caused because the current ecn unit tests didn't cover the queue configs.

Signed-off-by: Neetha John <[email protected]>

How to verify it
Ran tests/ecn_test.py and all cases passed
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 18, 2022
* d03ba4f [202012] [portstat, intfstat] added rates and utilization  (sonic-net#1812)
* 499ad3f [config reload] Fix config reload failure due to sonic.target job cancellation (sonic-net#1814)
* 96d658c [202012][sonic installer] Add swap setup support (sonic-net#1815)
* a9c6970 platform pre-check for reboot in 202012 branch (sonic-net#1788)
* 0e0478b Unify the number format in the ourput of portstat and pfcstat in all cases (sonic-net#1795)
* 2d1e00e [ecnconfig] Fix exception seen during display and add unit tests (sonic-net#1784) (sonic-net#1789)

Signed-off-by: Volodymyr Samotiy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ecnconfig] Exception while displaying ecn status on queue
3 participants