Class NettyStreamHandlerTest

java.lang.Object
org.apache.kafka.common.network.netty.NettyClientTestBase
org.apache.kafka.common.network.netty.NettyStreamHandlerTest

public class NettyStreamHandlerTest extends NettyClientTestBase
Test class to make sure that the stream events are delivered correctly to the NettyStream.StreamHandler handler that was passed in to the NettyHttp2Stream class.
  • Constructor Details

    • NettyStreamHandlerTest

      public NettyStreamHandlerTest()
  • Method Details

    • setup

      @BeforeEach public void setup() throws Exception
      Throws:
      Exception
    • closeStream

      @AfterEach public void closeStream()
    • testIfStreamHandlerClosesWhenStreamCloses

      @Test public void testIfStreamHandlerClosesWhenStreamCloses()
    • testExceptionInChannelPipelineGetsHandled

      @Test public void testExceptionInChannelPipelineGetsHandled() throws InterruptedException
      Throws:
      InterruptedException
    • testWritabilityChangeEvent

      @Test public void testWritabilityChangeEvent() throws InterruptedException
      Throws:
      InterruptedException