You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2020/01/12 12:07:00 UTC

[jira] [Reopened] (HTTPCORE-622) JSSEProviderIntegrationTest fails if Conscrypt JNI wrapper cannot be loaded

     [ https://issues.apache.org/jira/browse/HTTPCORE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov reopened HTTPCORE-622:
-------------------------------------

> JSSEProviderIntegrationTest fails if Conscrypt JNI wrapper cannot be loaded
> ---------------------------------------------------------------------------
>
>                 Key: HTTPCORE-622
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-622
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore
>    Affects Versions: 5.0-beta10
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 5.0-beta12
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> As described on the dev ML, run the tests on a platforms which the Conscrypt JAR does not contain the JNI wrapper and see this failure:
> {noformat}
> JSSEProviderIntegrationTest.*[Conscrypt TLS v1.2] » UnsatisfiedLink
> JSSEProviderIntegrationTest.*[Conscrypt TLS v1.3] » UnsatisfiedLink
> {noformat}
> with
> {noformat}
> [ERROR] testSimpleGet[Conscrypt TLSv1.2](org.apache.hc.core5.testing.nio.JSSEProviderIntegrationTest)
> Time elapsed: 0.34 s  <<< ERROR!
> java.lang.UnsatisfiedLinkError: no conscrypt_openjdk_jni-freebsd-x86 in java.library.path 
> {noformat}
> Ideally, {{Assume}} would verify that the provide can be loaded before tests are run.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org