Skip to content

Wait for MotorCAD process to quit correctly on Linux - #805

Open
jmacleod-ansys wants to merge 41 commits into
mainfrom
quit_correctly_linux
Open

Wait for MotorCAD process to quit correctly on Linux#805
jmacleod-ansys wants to merge 41 commits into
mainfrom
quit_correctly_linux

Conversation

@jmacleod-ansys

Copy link
Copy Markdown
Collaborator

Add code to improve handling of quit and make sure the MotorCAD process has actually quit before exiting. This is more of an issue on Linux where it can become a zombie if wait is not called.

Jamie MacLeod and others added 30 commits July 8, 2026 10:42
# Conflicts:
#	pyproject.toml
#	tests/test_variables.py
…ess because the MC pymotocad process was exiting before the actual MotorCAD instance.
…h second for a max of 60 seconds, before giving a warning and forcing kill.
# Conflicts:
#	src/ansys/motorcad/core/rpc_client_core.py
#	tests/test_geometry.py
Jamie MacLeod added 5 commits August 13, 2026 15:08
@jmacleod-ansys jmacleod-ansys self-assigned this Aug 14, 2026
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 54.54545% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.25%. Comparing base (e45078e) to head (e0e3b46).
⚠️ Report is 7 commits behind head on main.

❌ Your patch check has failed because the patch coverage (54.54%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #805      +/-   ##
==========================================
- Coverage   88.74%   87.25%   -1.49%     
==========================================
  Files          27       27              
  Lines        4113     4206      +93     
==========================================
+ Hits         3650     3670      +20     
- Misses        463      536      +73     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Jamie MacLeod added 3 commits August 14, 2026 15:03
…alled on processes that have already quit, resulting in send_and_recieve failing because there is no connection.
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.

2 participants