You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2021/12/16 20:01:00 UTC

[jira] [Updated] (NIFI-9495) Correct Intermittent BulletinMergerTest Failures

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

David Handermann updated NIFI-9495:
-----------------------------------
    Status: Patch Available  (was: Open)

> Correct Intermittent BulletinMergerTest Failures
> ------------------------------------------------
>
>                 Key: NIFI-9495
>                 URL: https://issues.apache.org/jira/browse/NIFI-9495
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.15.1
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Trivial
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Recent changes to the {{BulletinMergerTest}} introduced the potential for intermittent test failures when checking for the presence of a {{BulletinEntity}} instance containing the same message as an earlier instance.  The {{createBulletin}} method calls {{new Date()}} to set the timestamp property on test {{Bulletin}} objects, which yield different results based on execution speed. This can result in test failures when the {{BulletinMerger}} compares instances with the same message and equivalent timestamp values.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)