You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2014/12/18 18:16:13 UTC

[jira] [Resolved] (NIFI-56) TestScanContent fails intermittently

     [ 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)