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/12 19:42:00 UTC

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

     [ https://issues.apache.org/jira/browse/NIFI-8289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joey Frazee resolved NIFI-8289.
-------------------------------
    Fix Version/s: 1.14.0
       Resolution: Fixed

> 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
>            Assignee: Simon Bence
>            Priority: Minor
>             Fix For: 1.14.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> 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)