This repository has been archived by the owner on May 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do reverse session cleanup in rpc_service_prepare_to_stop() instead.
Originally, the reverse session cleanup is called in rpc_service_stop(). But this leads to: create new foms, init these foms, and try to queue these foms while the rpc service is stopped. This will cause the reverse session can be not cleaned up. Add delay of one second before doing fini in the UT to avoid some pending requests/foms are still active. Signed-off-by: Hua Huang <hua.huang@seagate.com>
- Loading branch information
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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