David Handermann created NIFI-9495:
--------------------------------------
Summary: 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
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)