fixed startup of QoS SAI tests#5605
Conversation
|
@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 <zhaohuisun@microsoft.com>
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
mapfunc 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