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

TestListenAndPutSyslog.testTLSListenerNoTLSPut and TestJettyWebSocket test is brittle and breaks the build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • None

    Description

      Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.369 sec <<< FAILURE! - in org.apache.nifi.processors.standard.TestListenAndPutSyslog
      testTLSListenerNoTLSPut(org.apache.nifi.processors.standard.TestListenAndPutSyslog)  Time elapsed: 0.029 sec  <<< FAILURE!
      java.lang.AssertionError: java.lang.NullPointerException
      	at org.apache.nifi.processors.standard.TestListenAndPutSyslog.run(TestListenAndPutSyslog.java:155)
      	at org.apache.nifi.processors.standard.TestListenAndPutSyslog.testTLSListenerNoTLSPut(TestListenAndPutSyslog.java:101)
      Caused by: java.lang.NullPointerException
      
      Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.177 sec <<< FAILURE! - in org.apache.nifi.websocket.jetty.TestJettyWebSocketCommunication
      testClientServerCommunicationRecovery(org.apache.nifi.websocket.jetty.TestJettyWebSocketCommunication)  Time elapsed: 0.089 sec  <<< ERROR!
      org.eclipse.jetty.websocket.api.WebSocketException: RemoteEndpoint unavailable, current state [CLOSED], expecting [OPEN or CONNECTED]
      	at org.apache.nifi.websocket.jetty.TestJettyWebSocketCommunication.lambda$testClientServerCommunicationRecovery$16(TestJettyWebSocketCommunication.java:245)
      	at org.apache.nifi.websocket.jetty.TestJettyWebSocketCommunication.testClientServerCommunicationRecovery(TestJettyWebSocketCommunication.java:245)
      

      Attachments

        Issue Links

          Activity

            People

              joewitt Joe Witt
              joewitt Joe Witt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: