Looks like we have to properly shutdown the message queue in the unit test which emulates data sending over the
secured websocket session. Otherwise, the unit test might be terminated earlier and data sending will be failed which causes a core crash.
Fixes #3807
This PR is ready for review.
Risk
This PR makes no API changes.
Testing Plan
Covered with unit tests
Summary
Looks like we have to properly shutdown the message queue in the unit test which emulates data sending over the secured websocket session. Otherwise, the unit test might be terminated earlier and data sending will be failed which causes a core crash.
CLA