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

Improve error if port is not available for XRootD #53

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

chrisburr
Copy link
Member

While working on #52 I ran into xrootd/xrootd#2208 which caused the xrootd server to be left open after the first test run. This resulted in some very weird errors.

In another project I've used this function to give a clearer error message if the port is already taken. Feel free to close this PR if you'd prefer not to add this.

@nsmith-
Copy link
Member

nsmith- commented Mar 5, 2024

Looks like @lobis was going to have the test choose a port in https://github.com/CoffeaTeam/fsspec-xrootd/pull/37/files#diff-e52e4ddd58b7ef887ab03c04116e676f6280b824ab7469d5d3080e5cba4f2128

@nsmith- nsmith- merged commit 4930488 into scikit-hep:main Mar 5, 2024
7 checks passed
@chrisburr chrisburr deleted the better-error branch March 5, 2024 16:41
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