[
https://issues.apache.org/jira/browse/NIFI-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Payne resolved NIFI-56.
----------------------------
Resolution: Fixed
> TestScanContent fails intermittently
> ------------------------------------
>
> Key: NIFI-56
> URL: https://issues.apache.org/jira/browse/NIFI-56
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Mark Payne
> Priority: Minor
> Fix For: 0.0.1
>
>
> Unit test sets 3 concurrent threads and then runs 3 times. The number of
> files out should be 2 to 'matched', 1 to 'unmatched'. However, the order in
> which those files go to 'matched' is not defined (because there are 3
> concurrent threads, which could pull/process the files in any order). The
> Unit test assumes that the order is guaranteed. This is a threading bug in
> the unit test, not the processor.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)