Joey Frazee created NIFI-8289:
---------------------------------

             Summary: EmbeddedQuestDbRolloverHandlerTest tests fail when local 
date and UTC date differ
                 Key: NIFI-8289
                 URL: https://issues.apache.org/jira/browse/NIFI-8289
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 1.14.0
            Reporter: Joey Frazee


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).

{code}
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>
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to