Thanks David, Good point. Let me create a PR to point to this when the pem is not found.
Regards JB On Mon, Dec 11, 2023 at 3:00 PM David Li <lidav...@apache.org> wrote: > > You can `git submodule update --init` to get the files. This is documented in > the environment setup [1], though the failing assertion could be more helpful > about pointing this out. > > [1]: https://arrow.apache.org/docs/dev/developers/java/building.html#building > > On Mon, Dec 11, 2023, at 08:49, Jean-Baptiste Onofré wrote: > > Hi guys, > > > > I noticed that Arrow Flight Core doesn't build "out of the box" due to > > the TestTls failing. > > The reason what TestTls is failing is because it tries to read > > cert0.pem from the testing/data folder (at project root), but testing > > is empty by default. > > If I create a cert0.pem by hand (with self signing key), it works. > > > > So, I propose three options: > > 1. We document the required tests to build Arrow java cleanly > > 2. We create a default self signed cert0.pem in testing/data that we commit. > > 3. We add a before step to the test to create the pem file > > > > My preference would be for 3. > > > > Thoughts ? > > > > Regards > > JB