-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow to resume a running session (#802)
# Motivation Allow a running session to be resumed. It also allows to retry Resume RPC when errors occur. Does not put tasks back in Paused status when an error occur. # Description - Remove the call to change the task status back to paused when there is an exception. - Allow session status change to Running when the session is already Running # Testing - Tests were performed with the GUI on the ArmoniK infrastructure. It fixes the issue when the Resume RPC times out. The tasks are not put back in Paused. # Impact - Resume is working more reliably. # Checklist - [x] My code adheres to the coding and style guidelines of the project. - [x] I have performed a self-review of my code. - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have made corresponding changes to the documentation. - [x] I have thoroughly tested my modifications and added tests when necessary. - [x] Tests pass locally and in the CI. - [x] I have assessed the performance impact of my modifications.
- Loading branch information
Showing
2 changed files
with
6 additions
and
16 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