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

tomcat-dev | Rainer Jung | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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