Skip to content
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

Implement stop timeout #192

Merged
merged 2 commits into from
May 16, 2023
Merged

Implement stop timeout #192

merged 2 commits into from
May 16, 2023

Conversation

greschd
Copy link
Member

@greschd greschd commented May 12, 2023

Implement the timeout parameter in the stop method for
both the direct and docker_compose launcher.

Set the timeout to 1 second in tests, to speed up tear-down.

@greschd greschd changed the base branch from main to feat/add_performance_benchmark May 12, 2023 21:34
@greschd greschd changed the base branch from feat/add_performance_benchmark to maint/use_ansys_tools_path May 15, 2023 07:34
@greschd greschd force-pushed the maint/use_ansys_tools_path branch from cd84cef to 3dd7fcd Compare May 15, 2023 09:15
@greschd greschd force-pushed the feat/use_stop_timeout_in_tests branch from cd9763c to 6f4fd92 Compare May 15, 2023 09:21
@greschd greschd force-pushed the maint/use_ansys_tools_path branch from 3dd7fcd to e800602 Compare May 15, 2023 09:23
Base automatically changed from maint/use_ansys_tools_path to main May 15, 2023 11:26
@greschd greschd changed the base branch from main to feat/add_performance_benchmark May 15, 2023 11:31
@greschd greschd force-pushed the feat/use_stop_timeout_in_tests branch 2 times, most recently from 3bd86e4 to ed3b6ee Compare May 16, 2023 09:45
@greschd greschd marked this pull request as ready for review May 16, 2023 09:47
@greschd
Copy link
Member Author

greschd commented May 16, 2023

This is a stacked PR on top of #190, but can be independently reviewed.

@roosre
Copy link
Contributor

roosre commented May 16, 2023

Was the tear down performance critical?

Base automatically changed from feat/add_performance_benchmark to main May 16, 2023 12:44
@greschd
Copy link
Member Author

greschd commented May 16, 2023

Was the tear down performance critical?

For the benchmark (which starts 7 servers) it takes ~13s even when stopping them all in parallel. So not very critical, but annoying when testing iteratively.
Since we don't rely on the clean shutdown in testing, it's o.k. to kill them FMPOV.

@greschd greschd force-pushed the feat/use_stop_timeout_in_tests branch from ed3b6ee to 6f2663c Compare May 16, 2023 12:56
@greschd greschd merged commit 5e23653 into main May 16, 2023
@greschd greschd deleted the feat/use_stop_timeout_in_tests branch May 16, 2023 13:16
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants