[pytest/pfc_asym] Convert PFC asymmetric to pytest#1534
[pytest/pfc_asym] Convert PFC asymmetric to pytest#1534neethajohn merged 11 commits intosonic-net:masterfrom
Conversation
Signed-off-by: Yuriy Volynets <yuriyv@mellanox.com>
|
This pull request introduces 4 alerts and fixes 1 when merging 9519c6a into f8fde6d - view on LGTM.com new alerts:
fixed alerts:
|
neethajohn
left a comment
There was a problem hiding this comment.
There is a lot of code in here that can be reused by other pfc tests. Can they moved into tests/common/ in a follow up PR? Like pfc storm_template, pfc_storm_runner, deploy_pfc_gen.
neethajohn
left a comment
There was a problem hiding this comment.
Also please fix the LGTM alerts
Signed-off-by: Yuriy Volynets <yuriyv@mellanox.com>
|
Can you move this common code commit (fanout, conn graph etc ) to a separate PR? |
* Created separate PR which adds support of Onyx OS based fanout - sonic-net#1674
…asym_pfc Conflicts: tests/common/devices.py tests/conftest.py
Moved. |
|
This pull request introduces 4 alerts when merging 3549ddd into f11d076 - view on LGTM.com new alerts:
|
Signed-off-by: Yuriy Volynets <yuriyv@mellanox.com>
|
This pull request introduces 1 alert when merging 307469c into f11d076 - view on LGTM.com new alerts:
|
neethajohn
left a comment
There was a problem hiding this comment.
fanout_graph_facts returns a dict now (#1730). Please change the usage in the script accordingly
Signed-off-by: Yuriy Volynets <yuriyv@mellanox.com>
Fixed. |
|
@neethajohn Please review latest updates, and merge if finished |
|
This pull request introduces 2 alerts when merging 54504a8 into 8c8a826 - view on LGTM.com new alerts:
|
This 2 changes done intentionally, so please skip them. |
|
LGTM. can you fix the merge conflicts? |
Signed-off-by: Yuriy Volynets <yuriyv@mellanox.com>
…asym_pfc Conflicts: tests/common/devices.py tests/conftest.py
|
This pull request introduces 2 alerts when merging af4f86e into b2017a6 - view on LGTM.com new alerts:
|
|
retest this please |
I've tested :) NJ> That comment was not for you. Danny is piloting sonic-mgmt PR test. :) |
7f50b9815e14d90c02d9dce63fd08d90e25cee3f (HEAD -> 201911, origin/201911) handled update() function of fdb orchagent for FDB FLUSH event (sonic-net#1534) 17adc13b6ca21846fe27c94d6a16f9909c712d77 Add a check for warm-restart, and do a clear only when warm-restart is enable. (sonic-net#1498) d097260a5aa7bd611babd5062e220056374e23d8 Fixed compilation failure with debug option (sonic-net#1518) Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Description of PR
Summary: Converted Asymmetric PFC test case from Ansible to PyTest
Fixes # (issue)
Type of change
Approach
How did you do it?
Converted PFC Asymmetric test case from Ansible to PyTest.
Implementation is based on the test design - sonic-net/SONiC#563
How did you verify/test it?
Tested on the local setup.
py.test --inventory ../ansible/inventory --host-pattern {SWITCH} --module-path ../ansible/library/ --testbed {SWITCH}-t0 --testbed_file ../ansible/testbed.csv pfc_asym/test_pfc_asym.py --show-capture=no --log-cli-level info -ra --server_ports_num=20 --fanout_inventory=labOption "--server_ports_num" is optional, default value is 20. Used if there is a need to adjust number of used server ports.
Any platform specific information?
Supported testbed topology if it's a new test case?
T0-*
Documentation