Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8289

EmbeddedQuestDbRolloverHandlerTest tests fail when local date and UTC date differ

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.14.0
    • 1.14.0
    • Extensions
    • None

    Description

      I'm seeing test failures with EmbeddedQuestDbRolloverHandlerTest on Linux and macOS when the local date and UTC date differ (e.g., in US time zones near the end of the day).

      Failures: 
        EmbeddedQuestDbRolloverHandlerTest.testRollOverWhenLessPartitionThanNeeded:99->thenRemainingPartitionsAre:204 Partition 2021-03-01 is expected
        EmbeddedQuestDbRolloverHandlerTest.testRollOverWhenNoPartitionToDrop:112->thenRemainingPartitionsAre:204 Partition 2021-02-28 is expected
        EmbeddedQuestDbRolloverHandlerTest.testRollOverWhenNonconsecutivePartitionsPresent:139->thenRemainingPartitionsAre:204 Partition 2021-03-01 is expected
        EmbeddedQuestDbRolloverHandlerTest.testRollOverWhenOldPartitionsPresent:125->thenRemainingPartitionsAre:201 expected:<3> but was:<4>
      

      Attachments

        Issue Links

          Activity

            People

              simonbence Simon Bence
              jfrazee Joey Frazee
              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 - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m