-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: run command exits when an action reaches timeout (#97)
Problem: When using the run subcommand to run an action that reaches its timeout, the action is properly ended but the CLI itself does not exit. It's waiting in _run_local_session() for the session.ended event to be set, but it's not being set. Solution: The LocalSession's _action_callback method was not handling the case where the returned ActionState was TIMEOUT. It now handles it. Signed-off-by: Daniel Neilson <[email protected]>
- Loading branch information
Showing
2 changed files
with
34 additions
and
1 deletion.
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