Class NettyHttp2StreamTest

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

@Timeout(value=1L, unit=MINUTES) public class NettyHttp2StreamTest extends NettyClientTestBase
Test class for HTTP/2 connection methods.
  • Constructor Details

    • NettyHttp2StreamTest

      public NettyHttp2StreamTest()
  • Method Details

    • setupClient

      @Timeout(value=30L, unit=SECONDS) @BeforeEach public void setupClient()
    • closeClient

      @AfterEach public void closeClient()
    • testStreamChannelHasCorrectHandlers

      @Test public void testStreamChannelHasCorrectHandlers() throws Exception
      Test if the channel handler for the HTTP/2 stream channel is set up correctly.
      Throws:
      Exception
    • testFlushReleasesBuffer

      @Test public void testFlushReleasesBuffer() throws Exception
      Test when we write and flush data, the input buffer is released.
      Throws:
      Exception
    • testStreamIdIsValid

      @Test public void testStreamIdIsValid() throws Exception
      Throws:
      Exception
    • testEventLoopTimeTracking

      @Test public void testEventLoopTimeTracking() throws Exception
      Throws:
      Exception