Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pfcwd][gcu] Add GCU testcases for pfcwd enable/disable scenario (son…
…ic-net#8488) Signed-off-by: Neetha John <[email protected]> What is the motivation for this PR? Added GCU testcase for pfcwd enable scenario (pfcwd start on single and all ports) Enhanced existing pfcwd disable scenario to include all ports and moved it to this new file How did you verify/test it? Ran the testcase on 202205 branch and it passed nejo@d1ee8b2d31c4:/var/nejo/tests$ ./run_tests.sh -n vms2-4-t0-2700 -i ../ansible/str,../ansible/veos -e "--skip_sanity --disable_loganalyzer" -t t0,any -c generic_config_updater/test_pfcwd_status.py -u === Running tests in groups === Running: pytest generic_config_updater/test_pfcwd_status.py --inventory ../ansible/str,../ansible/veos --host-pattern str-msn2700-22 --testbed vms2-4-t0-2700 --testbed_file /var/nejo/ansible/testbed.yaml --log-cli-level warning --log-file-level debug --kube_master unset --showlocals --assert plain --show-capture no -rav --allow_recover --ignore=ptftests --ignore=acstests --ignore=saitests --ignore=scripts --ignore=k8s --ignore=sai_qualify --junit-xml=logs/tr.xml --log-file=logs/test.log --topology t0,any --skip_sanity --disable_loganalyzer /usr/local/lib/python2.7/dist-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release. from cryptography.exceptions import InvalidSignature ========================================================================================================== test session starts ========================================================================================================== platform linux2 -- Python 2.7.18, pytest-4.6.11, py-1.11.0, pluggy-0.13.1 ansible: 2.8.12 rootdir: /var/nejo/tests, inifile: pytest.ini plugins: forked-1.3.0, metadata-1.11.0, ansible-2.2.4, celery-4.4.7, xdist-1.28.0, html-1.22.1, allure-pytest-2.8.22, repeat-0.9.1 collecting ... from cryptography.exceptions import InvalidSignature collected 4 items generic_config_updater/test_pfcwd_status.py::test_stop_pfcwd[single] PASSED [ 25%] generic_config_updater/test_pfcwd_status.py::test_stop_pfcwd[all] PASSED [ 50%] generic_config_updater/test_pfcwd_status.py::test_start_pfcwd[single] PASSED [ 75%] generic_config_updater/test_pfcwd_status.py::test_start_pfcwd[all] PASSED [100%] -------------------------------------------------------------------------------------------- generated xml file: /var/nejo/tests/logs/tr.xml -------------------------------------------------------------------------------------------- ====================================================================================================== 4 passed in 549.11 seconds =======================================================================================================
- Loading branch information