[ 
https://issues.apache.org/jira/browse/NIFI-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246945#comment-14246945
 ] 

ASF subversion and git services commented on NIFI-56:
-----------------------------------------------------

Commit 73cc6cbe284faab9a91b4816197a105524b1df41 in incubator-nifi's branch 
refs/heads/develop from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;h=73cc6cb ]

NIFI-56: Made test single-threaded


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

Reply via email to