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

Unit Test BUILD FAILED

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.2.1
    • None
    • unit tests
    • None
    • Linux

    Description

      290 tests completed, 2 failed :

      kafka.api.ProducerFailureHandlingTest > testNotEnoughReplicasAfterBrokerShutdown FAILED
      org.scalatest.junit.JUnitTestFailedError: Expected NotEnoughReplicasException when producing to topic with fewer brokers than min.insync.replicas
      at org.scalatest.junit.AssertionsForJUnit$class.newAssertionFailedException(AssertionsForJUnit.scala:101)
      at org.scalatest.junit.JUnit3Suite.newAssertionFailedException(JUnit3Suite.scala:149)
      at org.scalatest.Assertions$class.fail(Assertions.scala:711)
      at org.scalatest.junit.JUnit3Suite.fail(JUnit3Suite.scala:149)
      at kafka.api.ProducerFailureHandlingTest.testNotEnoughReplicasAfterBrokerShutdown(ProducerFailureHandlingTest.scala:355)

      kafka.server.ServerShutdownTest > testCleanShutdownAfterFailedStartup FAILED
      org.scalatest.junit.JUnitTestFailedError: Expected KafkaServer setup to fail with connection exception but caught a different exception.
      at org.scalatest.junit.AssertionsForJUnit$class.newAssertionFailedException(AssertionsForJUnit.scala:101)
      at org.scalatest.junit.JUnit3Suite.newAssertionFailedException(JUnit3Suite.scala:149)
      at org.scalatest.Assertions$class.fail(Assertions.scala:711)
      at org.scalatest.junit.JUnit3Suite.fail(JUnit3Suite.scala:149)
      at kafka.server.ServerShutdownTest.testCleanShutdownAfterFailedStartup(ServerShutdownTest.scala:136)

      Attachments

        Activity

          People

            jinxing6042@126.com Jin Xing
            wangbo23 Bo Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified