Pierre Villard created NIFI-7660:
------------------------------------
Summary: Change of Exception with latest Java 8
Key: NIFI-7660
URL: https://issues.apache.org/jira/browse/NIFI-7660
Project: Apache NiFi
Issue Type: Bug
Components: Tools and Build
Environment: Apache Maven 3.6.3
(cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 1.8.0_262, vendor: Azul Systems, Inc., runtime:
/Users/runner/hostedtoolcache/jdk/8.0.262/x64/jre
Default locale: en_JP, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.5", arch: "x86_64", family: "mac"
Reporter: Pierre Villard
{code:java}
[ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 1.083 s
<<< FAILURE! - in org.apache.nifi.web.server.JettyServerGroovyTest
2231[ERROR]
testShouldNotSupportTLSv1_3OnJava8(org.apache.nifi.web.server.JettyServerGroovyTest)
Time elapsed: 0.689 s <<< FAILURE!
2232java.lang.AssertionError: Closure
org.apache.nifi.web.server.JettyServerGroovyTest$_testShouldNotSupportTLSv1_3OnJava8_closure17@42435b98
should have failed with an exception of type
java.lang.IllegalArgumentException, instead got Exception
javax.net.ssl.SSLHandshakeException: Received fatal alert: protocol_version
2233 at
org.apache.nifi.web.server.JettyServerGroovyTest.testShouldNotSupportTLSv1_3OnJava8(JettyServerGroovyTest.groovy:322)
2234
2235[ERROR] Failures:
2236[ERROR]
JettyServerGroovyTest.testShouldNotSupportTLSv1_3OnJava8:322->GroovyTestCase.shouldFail:221
Closure
org.apache.nifi.web.server.JettyServerGroovyTest$_testShouldNotSupportTLSv1_3OnJava8_closure17@42435b98
should have failed with an exception of type
java.lang.IllegalArgumentException, instead got Exception
javax.net.ssl.SSLHandshakeException: Received fatal alert: protocol_version
2237[ERROR] Tests run: 22, Failures: 1, Errors: 0, Skipped: 1
2238[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on
project nifi-jetty: There are test failures.
2239[ERROR]
2240[ERROR] Please refer to
/home/runner/work/nifi/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-jetty/target/surefire-reports
for the individual test results.
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)