Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7660

Change of Exception with latest Java 8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.0
    • Component/s: Tools and Build
    • Labels:
      None
    • Environment:

      Description

      [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.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alopresto Andy LoPresto
                Reporter:
                pvillard Pierre Villard
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m