Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.12.1
Description
The unit test testConvertOIDCTokenToNiFiTokenShouldHandleBlankIdentityAndNoEmailClaim(org.apache.nifi.web.security.oidc.StandardOidcIdentityProviderGroovyTest fails if an unexpected service is running on localhost:80 which responds to an HTTP request but does not support TLS because the expected exception is java.net.ConnectException but in this scenario the service (e.g. a Docker container) causes javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake.
The unit test should be updated to be more accepting of reasonable exceptions.
Attachments
Issue Links
- links to