Thanks for the report Sebb.

It appears that the problem is that the test is attempting to fetch an RSS
feed from a website that uses TLS 1.2 and older versions of Java 1.7 do not
support TLS 1.2. That's why this error appears in roller.log:

   javax.net.ssl.SSLException: Received fatal alert: protocol_version

TLS support was added to Java 1.7 in build 131, but have to buy a license
from Oracle to get that version.

There are a couple of possible ways to fix this:

   1 - Change the roller-5.2.x branch to target Java 1.8 instead
   2 - Make the RSS feed tests as ignored
   3 - Change the RSS feed test to pull from a TLS 1.1 site instead (can we
even find such a thing?)

Thoughts?

Thanks,
Dave



On Sat, Jun 8, 2019 at 12:39 PM sebb <seb...@gmail.com> wrote:

> mvn clean install fails with:
>
> Tests in error:
>   RomeFeedFetcherTest.testFetchFeed:56 » Fetcher Error fetching
> subscription - h...
>   RomeFeedFetcherTest.testFetchFeedConditionally:76 » Fetcher Error
> fetching sub...
>   SingleThreadedFeedUpdaterTest.testUpdateSubscription:67 » Updater
> Error fetchi...
>
> i.e. the test code compiles OK with Java 7, but the some tests fail.
>
> The tests work fine with Java8.
>
> Since the code currently targets 1.7, the tests ought to work as well.
>

Reply via email to