-
Notifications
You must be signed in to change notification settings - Fork 54k
Demonstrate establishment of new connections by HttpClient on exceptions ... #18435
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
Demonstrate establishment of new connections by HttpClient on exceptions ... #18435
Conversation
* + minor improvements
…ons during interactions with server (JavaHttpClientExceptionHandlingUnitTest). * including: - added file appender config for logback for unit-testing assertions & tweak levels (logback.xml) - added suite (for sequencing) (JavaHttpClientTestSuite.java) - updated source, dependencies & testing config (pom.xml)
… last commit on this branch * thus resolving the following error: - [ERROR] /var/lib/jenkins/workspace/tutorials-build-pr/core-java-modules/core-java-httpclient/src/main/java/com/baeldung/rest/RestApiServer.java:[20,24] switch rules are not supported in -source 11 (use -source 14 or higher to enable switch rules)
15f15dc to
ac6bd5c
Compare
* executing the others directly - as sequencing is only needed for tests affecting WireMock logging
* to ensure that concurrent WireMock logging doesn't take place - even if surefire-based TestSuite config is ignored
* for exception handling testing - using file size threshold instead of fixed delay or TestSuite
|
Hi @haqer1 Is this related to a Jira or other issue? Thanks. |
|
Thanks @haqer1 This seems to showcase new content, rather than a problem in the existing code. Our process for adding new code is more extensive, because we would have to continue maintaining it. I will close the PR and the new GitHub issue. Thanks. |
|
Yes, it's not about bug in existing code. Strange: it's useful info & code that many people don't know & would benefit from knowing, with automated tests, including interesting stuff for assertions. Why not merge this? What else would be needed according to your "more extensive process"? Thanks. |
… during interactions with server (JavaHttpClientExceptionHandlingUnitTest).