You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joey Frazee (Jira)" <ji...@apache.org> on 2021/03/03 04:30:00 UTC

[jira] [Created] (NIFI-8289) EmbeddedQuestDbRolloverHandlerTest tests fail when local date and UTC date differ

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)