[
https://issues.apache.org/jira/browse/NIFI-9495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462750#comment-17462750
]
ASF subversion and git services commented on NIFI-9495:
-------------------------------------------------------
Commit e6430115e59716325ba13aa41f94f018dd2238fd in nifi's branch
refs/heads/support/nifi-1.15 from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e643011 ]
NIFI-9495 Corrected BulletinMergerTest using static timestamps
- Replaced JUnit 4 and TestNG references with JUnit 5
- Added test method for bulletin sorting
Signed-off-by: Matthew Burgess <[email protected]>
This closes #5607
> 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)