junit.framework.AssertionFailedError: expected:<class java.io.IOException> but was:<class java.nio.channels.ClosedChannelException>

tomcat-dev | Rainer Jung | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Re: [VOTE] Release Apache Tomcat 9.0.0.M3

    tomcat-dev | 1 year ago | Rainer Jung
    junit.framework.AssertionFailedError: expected:<class java.io.IOException> but was:<class java.nio.channels.ClosedChannelException>

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      expected:<class java.io.IOException> but was:<class java.nio.channels.ClosedChannelException>

      at org.apache.tomcat.websocket.server.TestClose.awaitOnError()
    2. Tomcat WS
      TestClose.testTcpResetWhenOnMessageSends
      1. org.apache.tomcat.websocket.server.TestClose.awaitOnError(TestClose.java:110)
      2. org.apache.tomcat.websocket.server.TestClose.testTcpResetInOnMessage(TestClose.java:217)
      3. org.apache.tomcat.websocket.server.TestClose.testTcpResetWhenOnMessageSends(TestClose.java:232)
      3 frames