You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Jared La Rue (CW)" <ja...@dremio.com.INVALID> on 2023/03/24 02:44:22 UTC

[Java][tests] Set-up instructions for TLS tests

Hi Friends,

Running into failures in org.apache.arrow.driver.jdbc.ConnectionTlsTest
when building the Flight JDBC driver.

java.io.FileNotFoundException: <blahblahblah>/testing/data/flight/cert0.pem
(No such file or directory)

Are there any instructions on how to set up one's environment in order to
get this test to run & pass?

Thanks,
Jared

Re: [Java][tests] Set-up instructions for TLS tests

Posted by David Li <li...@apache.org>.
You should `git submodule update --init` and possibly set the environment variable ARROW_TEST_DATA to $(repo root)/testing/data. (I think the exception raised mentions this, but [1] should definitely describe this.)

[1]: https://arrow.apache.org/docs/dev/developers/java/development.html

On Thu, Mar 23, 2023, at 22:44, Jared La Rue (CW) wrote:
> Hi Friends,
>
> Running into failures in org.apache.arrow.driver.jdbc.ConnectionTlsTest
> when building the Flight JDBC driver.
>
> java.io.FileNotFoundException: <blahblahblah>/testing/data/flight/cert0.pem
> (No such file or directory)
>
> Are there any instructions on how to set up one's environment in order to
> get this test to run & pass?
>
> Thanks,
> Jared