-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stopping agents ungracefully feature #72
Conversation
@pro-akim Check the failing unit tests |
05/07/2023Checks were done before the PR, however, it will be tested one more time when the pipeline is back. It will remain on on-hold status. |
EvidencesRunning:
Results:
Stopped one by one
Stopped one by one
Unit tests seem to be ok |
11/07/2023Automatically triggered unit tests detect failures in code that was not modified by this issue. |
11/07/2023The status code was 403 (certificate problems). |
EvidencesRunning:
Results:
Stopped one by one
Stopped one by one
Unit tests seem to be ok |
UpdateChanges done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor final changes are requested
UpdateTested and fixed: EvidencesRunning:
Results:
Stopped one by one
Stopped one by one
Unit tests seem to be ok |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR includes additional parameters for stop_agent and stop_agents, making possible to stop them ungracefully
Evidences
Running:
wh.stop_agent("agent1", type='gracefully')
wh.stop_agent("agent1", type='ungracefully')
wh.stop_agents(["agent1", "agent2"], type='gracefully', parallel=True)
wh.stop_agents(["agent1", "agent2"], type='ungracefully', parallel=True)
wh.stop_agents(["agent1", "agent2"], type='gracefully', parallel=False)
wh.stop_agents(["agent1", "agent2"], type='ungracefully', parallel=False)
Results:
agent1 stopped gracefully
agent1 stopped ungracefully
agent1 and agent2 stopped gracefully
agent1 and agent2 stopped ungracefully
agent1 and agent2 stopped gracefully one by one
agent1 and agent2 stopped ungracefully one by one