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

Explicit server port allocation in tests #2095

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

PProfizi
Copy link
Contributor

@PProfizi PProfizi commented Feb 18, 2025

Add get_next_port() function to conftest for usage in fixtures providing gRPC servers.

trying to solve #2090

Edit: looks like the error still happens when running examples on Docker

@PProfizi PProfizi added the CI/CD Related to CI/CD label Feb 18, 2025
@PProfizi PProfizi self-assigned this Feb 18, 2025
Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.58%. Comparing base (1b0421e) to head (42478ce).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2095      +/-   ##
==========================================
+ Coverage   85.96%   86.58%   +0.61%     
==========================================
  Files          90       90              
  Lines       10240    10240              
==========================================
+ Hits         8803     8866      +63     
+ Misses       1437     1374      -63     

Copy link
Contributor

@moe-ad moe-ad left a comment

Choose a reason for hiding this comment

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

@PProfizi
Copy link
Contributor Author

@PProfizi looks like the docker failure was just an instability. https://github.com/ansys/pydpf-core/actions/runs/13407780206/job/37450854447?pr=2095

It was, but the point of the PR is to remove such instabilities, which means this does not solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD Related to CI/CD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants