Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10854

Fix flaky kafka.network.SocketServerTest.testConnectionRatePerIp test

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0
    • None
    • None

    Description

      org.scalatest.exceptions.TestFailedException: expected exception when writing to closed plain socket
      at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:530)
      at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:529)
      at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1389)
      at org.scalatest.Assertions.fail(Assertions.scala:1091)
      at org.scalatest.Assertions.fail$(Assertions.scala:1087)
      at org.scalatest.Assertions$.fail(Assertions.scala:1389)
      at kafka.network.SocketServerTest.verifyRemoteConnectionClosed(SocketServerTest.scala:922)
      at kafka.network.SocketServerTest.testConnectionRatePerIp(SocketServerTest.scala:884)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      Attachments

        Issue Links

          Activity

            People

              showuon Luke Chen
              showuon Luke Chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: