Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28023

Fix Kafka TestStreamProcessor.testComputationRecoveryPolicy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 11.1-SNAPSHOT
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Streams
    • Team:
      PLATFORM
    • Sprint:
      nxplatform 11.1.18, nxplatform 11.1.19
    • Story Points:
      2

      Description

      This test is failing systematically on CI when kafka is enable:

      [ERROR] Failures: 
      [ERROR]   TestLogStreamProcessorKafka>TestStreamProcessor.testComputationRecoveryPolicy:635 LogLag{lower=0, upper=2, lag=2, lowerOffset=0, upperOffset=2} expected:<1> but was:<2>
      [ERROR]   TestLogStreamProcessorKafkaNoSubscribe>TestStreamProcessor.testComputationRecoveryPolicy:635 LogLag{lower=0, upper=2, lag=2, lowerOffset=0, upperOffset=2} expected:<1> but was:<2>
      [INFO] 
      [ERROR] Tests run: 234, Failures: 2, Errors: 0, Skipped: 37
      [INFO] 
      

      The problem is that there are 3 tests on the recovery mode (CQ, Kafka and KafkaNoSubscribe) only the first test works because of the usage of a static counter in ComputationRunner.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h