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/05 21:05:12 UTC

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

Mark Payne created NIFI-56:
------------------------------

             Summary: TestScanContent fails intermittently
                 Key: NIFI-56
                 URL: https://issues.apache.org/jira/browse/NIFI-56
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Mark Payne
            Priority: Minor


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)