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

ASF GitHub Bot commented on NIFI-1689:
--------------------------------------

Github user alopresto commented on the pull request:

    https://github.com/apache/nifi/pull/326#issuecomment-205592813
  
    I was one of the people having issues with `TestListFile` on the 0.6.0 
build, but I rebooted my machine during an OS patch between then and now. As of 
right now, I can no longer reproduce the test errors prior to applying this 
patch for verification. I have heard the same from other people in similar 
situations. 
    
    However, reviewing the code, the changes make sense and I believe this 
should solve the problem for Mac OS X users. 


> ListFile tests have intermittent issues
> ---------------------------------------
>
>                 Key: NIFI-1689
>                 URL: https://issues.apache.org/jira/browse/NIFI-1689
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions, Tools and Build
>    Affects Versions: 0.6.0
>            Reporter: Aldrin Piri
>            Assignee: Aldrin Piri
>             Fix For: 1.0.0, 0.6.1
>
>
> There have been some issues regarding the changes made for NIFI-1664 as part 
> of the build process.  Reports have been on OS X and Windows 10.
> {code}
> Tests run: 12, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 3.056 sec
> <<< FAILURE! - in org.apache.nifi.processors.standard.TestListFile
> testFilterFilePattern(org.apache.nifi.processors.standard.TestListFile)
> Time elapsed: 0.224 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<4> but was:<0>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:834)
>         at org.junit.Assert.assertEquals(Assert.java:645)
>         at org.junit.Assert.assertEquals(Assert.java:631)
>         at
> org.apache.nifi.processors.standard.TestListFile.testFilterFilePattern(TestListFile.java:438)
> testFilterPathPattern(org.apache.nifi.processors.standard.TestListFile)
> Time elapsed: 0.223 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<4> but was:<0>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:834)
>         at org.junit.Assert.assertEquals(Assert.java:645)
>         at org.junit.Assert.assertEquals(Assert.java:631)
>         at
> org.apache.nifi.processors.standard.TestListFile.testFilterPathPattern(TestListFile.java:492)
> testFilterHidden(org.apache.nifi.processors.standard.TestListFile)  Time
> elapsed: 0.227 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<2> but was:<0>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:834)
>         at org.junit.Assert.assertEquals(Assert.java:645)
>         at org.junit.Assert.assertEquals(Assert.java:631)
>         at
> org.apache.nifi.processors.standard.TestListFile.testFilterHidden(TestListFile.java:383)
> testReadable(org.apache.nifi.processors.standard.TestListFile)  Time
> elapsed: 0.219 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<3> but was:<0>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:834)
>         at org.junit.Assert.assertEquals(Assert.java:645)
>         at org.junit.Assert.assertEquals(Assert.java:631)
>         at
> org.apache.nifi.util.StandardProcessorTestRunner.assertTransferCount(StandardProcessorTestRunner.java:330)
>         at
> org.apache.nifi.processors.standard.TestListFile.testReadable(TestListFile.java:624)
> testRecurse(org.apache.nifi.processors.standard.TestListFile)  Time
> elapsed: 0.226 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<3> but was:<0>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:834)
>         at org.junit.Assert.assertEquals(Assert.java:645)
>         at org.junit.Assert.assertEquals(Assert.java:631)
>         at
> org.apache.nifi.util.StandardProcessorTestRunner.assertTransferCount(StandardProcessorTestRunner.java:330)
>         at
> org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunner.java:325)
>         at
> org.apache.nifi.processors.standard.TestListFile.testRecurse(TestListFile.java:556)
> testFilterSize(org.apache.nifi.processors.standard.TestListFile)  Time
> elapsed: 0.233 sec  <<< FAILURE!
> {code}



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

Reply via email to