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

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

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

NIFI-212: When comparing .tar files for differences, rather than comparing 
MD5SUM's of .tar files, ensure that .tar files have the same number of entries 
and that those entries are identical. This prevents issues that arise if the 
TAR metadata within the file differs


> Unit tests intermittently fail in framework-cluster
> ---------------------------------------------------
>
>                 Key: NIFI-212
>                 URL: https://issues.apache.org/jira/browse/NIFI-212
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 0.0.1
>            Reporter: Mark Payne
>             Fix For: 0.0.1
>
>         Attachments: NIFI-212.patch.txt
>
>
> We see the following unit test failures on & off:
> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.484 sec <<< 
> FAILURE! - in 
> org.apache.nifi.cluster.flow.impl.DataFlowManagementServiceImplTest
> testLoadFlowWithSameNodeIds(org.apache.nifi.cluster.flow.impl.DataFlowManagementServiceImplTest)
>   Time elapsed: 0.014 sec  <<< ERROR!
> org.apache.nifi.cluster.flow.DaoException: java.lang.IllegalStateException: 
> Primary file '/tmp/primaryDataFlowManagementServiceImplTest/flow.tar' is 
> different than restore file 
> '/tmp/restoreDataFlowManagementServiceImplTest/flow.tar'
>       at 
> org.apache.nifi.util.file.FileUtils.syncWithRestore(FileUtils.java:580)
>       at 
> org.apache.nifi.cluster.flow.impl.DataFlowDaoImpl.<init>(DataFlowDaoImpl.java:177)
>       at 
> org.apache.nifi.cluster.flow.impl.DataFlowManagementServiceImplTest.setup(DataFlowManagementServiceImplTest.java:89)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to