Skip to content

Add the tests of SWSS_LOG_WARN for CRM threshold by syslog checking.#848

Closed
iris00522 wants to merge 2 commits intosonic-net:masterfrom
iris00522:crm_syslog
Closed

Add the tests of SWSS_LOG_WARN for CRM threshold by syslog checking.#848
iris00522 wants to merge 2 commits intosonic-net:masterfrom
iris00522:crm_syslog

Conversation

@iris00522
Copy link
Copy Markdown
Contributor

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 =====================================================================================================

@iris00522 iris00522 closed this Apr 25, 2019
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
jianyuewu pushed a commit to jianyuewu/sonic-swss that referenced this pull request Dec 24, 2025
settingThread of Logger select DB change with 1000ms timeout. It causes up to 1 second wait while destroy the logger instance. The 1 second wait is not necessary and can be replaced by SelectableEvent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant