slachiewicz opened a new pull request, #1374:
URL: https://github.com/apache/maven-javadoc-plugin/pull/1374

   `JavadocUtilTest.testIsValidPackageList` fetches `package-list` from 
maven.apache.org, so a network hiccup fails the build for a reason unrelated to 
the code. It did exactly that on the run that merged #1373: 
`SSLHandshakeException: Remote host terminated the handshake` on `ubuntu-latest 
jdk-17-zulu`, while the same commit passed on master.
   
   This is a unit test, so it runs on every build, not only under `verify`.
   
   A `TestExecutionExceptionHandler` on the class walks the cause chain and 
skips when the failure is `SocketTimeoutException`, `UnknownHostException` or 
`SSLException`. It deliberately does **not** cover a refused connection: 
several cases in this class start a local proxy server and talk through it, and 
a proxy that failed to start must keep failing loudly rather than quietly 
skipping. `FileNotFoundException` is untouched too — the test asserts on it for 
the wrong-URL case.
   
   Same shape as apache/maven-plugin-tools#1191.
   
   Verified: `mvn test -Dtest=JavadocUtilTest` → 20 tests, 0 failures, 0 
skipped, with the network up.
   
   *This change was created with AI assistance.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to