[
https://issues.apache.org/jira/browse/NIFI-9495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Witt updated NIFI-9495:
---------------------------
Fix Version/s: 1.15.2
> 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
> Fix For: 1.16.0, 1.15.2
>
> Time Spent: 0.5h
> 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)