Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve orchagent watchdog UT to handle orchagent not pause case. (#1…
…1136) ### Description of PR Improve orchagent watchdog UT to handle orchagent not pause case. Summary: Improve orchagent watchdog UT to handle orchagent not pause case. ### Type of change - [ ] Bug fix - [ ] Testbed and Framework(new/improvement) - [x] Test case(new/improvement) ## Approach #### What is the motivation for this PR? system_health/test_watchdog.py::test_orchagent_watchdog randomly failed on some device because orchagent does not paused by UT. Still not found reason, add debug information also improve code. #### How did you do it? Improve get orchagent PID code, only get orchagent running by root user. Add debug log when orchageent pause failed. #### How did you verify/test it? Pass all UT
- Loading branch information