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

CXF-SOAP: Cover possible regression prior CXF fix causing indefinitive hang #5685

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

JiriOndrusek
Copy link
Contributor

fixes #5682

@JiriOndrusek JiriOndrusek force-pushed the cxf-cover-of-hang branch 3 times, most recently from e31ebbe to 85cad4a Compare January 29, 2024 12:18

//non-existing server url is used
requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
String.format("http://localhost:%d/soapservice/sayHelloWrong", AvailablePortFinder.getNextAvailable()));
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick - if we don't actually care about the server URL, can we just hard code the port to any value? If so we can remove the dependency on camel-test-junit5.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I understand your point. I used the next available port just to be sure that the port is really not used. Maybe it is not necessary. I'll remove the dependency and hardcode a fixed value

@jamesnetherton
Copy link
Contributor

@JiriOndrusek do you mind rebasing on latest main just to check it with the latest upgrades.

I left an optional nitpick comment too.

@JiriOndrusek
Copy link
Contributor Author

JiriOndrusek commented Feb 1, 2024

PR is rebased and the dependency camel-test-junit5 removed

Copy link
Contributor

@zhfeng zhfeng left a comment

Choose a reason for hiding this comment

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

Nice work!

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

Successfully merging this pull request may close these issues.

CXF-SOAP: Cover possible regression prior CXF fix "Csb 2484 #496" causing indefinite hang
4 participants