-
Notifications
You must be signed in to change notification settings - Fork 539
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
Dynamic Port Breakout system test cases using CLI command #1515
Conversation
Signed-off-by: Vasant <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests should poll (either by using the existing methods in dvs_database
or wait_for_result
in dvs_common
), otherwise they aren't going to be stable.
Signed-off-by: Vasant <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking a lot better, just had a few more suggestions
tests/test_port_dpb_system.py
Outdated
from swsscommon import swsscommon | ||
import redis |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think these are necessary w/ your latest round of changes
tests/test_port_dpb_system.py
Outdated
import time | ||
import os | ||
import pytest | ||
from pytest import * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is needed either - all the marks + whatnot should be covered by the import pytest
.
retest this please |
@zhenggen-xu: It would be good if we can commit the dependent PRs soon. |
retest this please |
Can someone take a look, please? |
@vasant17 All dependent PRs are merged? Can you please rebase to solve the conflict? |
…c-net#1515) Signed-off-by: Vasant <[email protected]> Co-authored-by: Danny Allen <[email protected]>
Signed-off-by: Vasant [email protected]
What I did
Wrote test cases using CLI command to breakout port
Why I did it
Better test coverage of DPB modules
How I verified it
Ran VS test cases
Details if related
Dependent PRs:
sonic-net/sonic-buildimage#6029
sonic-net/sonic-utilities#1268
#1506 - Merged
sonic-net/sonic-buildimage#6034 - Merged