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

Streams integration tests should not use commit interval of 1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1.1
    • 0.10.2.0
    • streams
    • None

    Description

      Several streams integration tests use two cache sizes, 0 and 10MB. However, when they use 10MB, they still use a very small commit interval (1ms). That leads to two problems:1) a small commit interval often has the same effect as having the cache size be 0, and 2) a small commit interval is not exactly the same as the cache size being 0 and in some cases there is deduplication. This leads to the tests failing, since they don't expect deduplication.

      To solve this issue, look at KStreamAggregationDedupIntegrationTest and KStreamAggregationIntegrationTest. If you want to test dedup, it would be necessary to create another file.

      Several tests need this cleanup.

      Attachments

        Issue Links

          Activity

            People

              enothereska Eno Thereska
              enothereska Eno Thereska
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: