Add the tests of SWSS_LOG_WARN for CRM threshold by syslog checking. #848
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update tests for CRM threshold syslog checking.
Please help to review, thank you.
========================================================================================================= test session starts =========================================================================================================
platform linux2 -- Python 2.7.12, pytest-4.3.1, py-1.8.0, pluggy-0.9.0 -- /usr/bin/python
cachedir: .pytest_cache
rootdir: /home/iris/project/SONiC_Offical/sonic-buildimage/src/sonic-swss/tests, inifile:
collected 10 items
test_crm.py::test_CrmFdbEntry PASSED [ 10%]
test_crm.py::test_CrmIpv4Route PASSED [ 20%]
test_crm.py::test_CrmIpv6Route PASSED [ 30%]
test_crm.py::test_CrmIpv4Nexthop PASSED [ 40%]
test_crm.py::test_CrmIpv6Nexthop PASSED [ 50%]
test_crm.py::test_CrmIpv4Neighbor PASSED [ 60%]
test_crm.py::test_CrmIpv6Neighbor PASSED [ 70%]
test_crm.py::test_CrmNexthopGroup PASSED [ 80%]
test_crm.py::test_CrmNexthopGroupMember PASSED [ 90%]
test_crm.py::test_CrmAcl PASSED [100%]
===================================================================================================== 10 passed in 171.66 seconds =====================================================================================================