-
Notifications
You must be signed in to change notification settings - Fork 738
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
fixed startup of QoS SAI tests #5605
fixed startup of QoS SAI tests #5605
Conversation
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.
LGTM
@wangxin take a look please |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@OleksandrKozodoi Does this fix work for both python2 and python3? |
@OleksandrKozodoi Thanks. |
What is the motivation for this PR? Fix the issue reported in #4867, failures: TypeError: () takes exactly 2 arguments (1 given) The fix in #5605 still uses lambda which is not easy to read and may have compatibility issue. How did you do it? Use for loop and concentrate string together and append them to a list. How did you verify/test it? run tests/test_qos_sai.py Signed-off-by: Zhaohui Sun <[email protected]>
Description of PR
Summary: fixed startup of QoS SAI tests
Fixes # (issue)
QoS SAI tests fail with the error on ptfhost_utils.py:185 :
Fixed it
Type of change
Back port request
Approach
What is the motivation for this PR?
Fix QoS SAI tests
How did you do it?
Fixed syntax issue in
map
func usageHow did you verify/test it?
py.test --inventory=../ansible/lab,../ansible/veos --testbed_file=../ansible/testbed.csv --module-path=../ansible/library -v -rA --topology=t1,any qos/test_qos_sai.py
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation