Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UT for orchagent watchdog (sonic-net#8306)
### Description of PR Add UT for orchagent watchdog. Summary: SWSS service will add watchdog mechanism to generate keepalive message, and generate alert when swss have issue. This PR will add new UT to cover the watchdog mechanism. ### Type of change - [ ] Bug fix - [ ] Testbed and Framework(new/improvement) - [x] Test case(new/improvement) ### Back port request - [ ] 201911 - [ ] 202012 - [ ] 202205 ### Approach #### What is the motivation for this PR? Add new UT to test and protect watchdog mechanism from code change. #### How did you do it? Pause orchagent service with 'kill -stop' command and check if the watchdog can send alert. #### How did you verify/test it? Manually test new UT. Pass PR validation. #### Any platform specific information? No #### Supported testbed topology if it's a new test case? Any ### Documentation <!-- (If it's a new feature, new test case) Did you update documentation/Wiki relevant to your implementation? Link to the wiki page? -->
- Loading branch information