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

Fix respawning of pool instances have different names #2493

Merged
merged 25 commits into from
Jan 4, 2024

Conversation

germa89
Copy link
Collaborator

@germa89 germa89 commented Nov 8, 2023

The re-spawning of pool instances was creating instances with different names.

Close #2453

@ansys-reviewer-bot
Copy link
Contributor

Thanks for opening a Pull Request. If you want to perform a review write a comment saying:

@ansys-reviewer-bot review

@github-actions github-actions bot added the BUG Issue, problem or error in PyMAPDL label Nov 8, 2023
@germa89 germa89 self-assigned this Nov 8, 2023
@germa89 germa89 requested a review from clatapie November 8, 2023 10:55
Copy link

codecov bot commented Nov 8, 2023

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (f43c3a6) 82.15% compared to head (5200c2f) 80.10%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2493      +/-   ##
==========================================
- Coverage   82.15%   80.10%   -2.05%     
==========================================
  Files          46       46              
  Lines        9115     9118       +3     
==========================================
- Hits         7488     7304     -184     
- Misses       1627     1814     +187     

@germa89
Copy link
Collaborator Author

germa89 commented Nov 23, 2023

Leaving this PR for next week because I need a machine with MAPDL installed.

@germa89 germa89 marked this pull request as draft November 27, 2023 10:12
Copy link
Contributor

@clatapie clatapie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

src/ansys/mapdl/core/pool.py Show resolved Hide resolved
tests/test_pool.py Show resolved Hide resolved
@germa89 germa89 marked this pull request as ready for review January 4, 2024 10:28
@germa89 germa89 requested a review from a team as a code owner January 4, 2024 10:28
@germa89
Copy link
Collaborator Author

germa89 commented Jan 4, 2024

I'm merging because we cannot really test pool library in the pull requests (because we ran student which does not support more than one MAPDL instance)

@germa89 germa89 merged commit 04aae4f into main Jan 4, 2024
28 of 29 checks passed
@germa89 germa89 deleted the fix/pool-names-changes-when-respawning branch January 4, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Issue, problem or error in PyMAPDL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pool names might not be updated properly
2 participants