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.#848iris00522 wants to merge 2 commits intosonic-net:masterfrom iris00522:crm_syslog
iris00522 wants to merge 2 commits intosonic-net:masterfrom
iris00522:crm_syslog
Conversation
EdenGri
pushed a commit
to EdenGri/sonic-swss
that referenced
this pull request
Feb 28, 2022
…nic-net#848) This reverts commit f1c79d5.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 =====================================================================================================