You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/05 03:01:25 UTC

[jira] [Commented] (NIFI-1689) ListFile tests have intermittent issues

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

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

GitHub user apiri opened a pull request:

    https://github.com/apache/nifi/pull/326

    NIFI-1689 ListFile test inconsistent on various environments 

    NIFI-1689 Correcting TimeUnit conversion to be milliseconds instead of the incorrect microseconds and using historical modified times to avoid issues with second granularity of HFS+

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apiri/incubator-nifi NIFI-1689

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/326.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #326
    
----
commit 2bd32cb1bffe651e14ef7b3a53f30589342f8617
Author: Aldrin Piri <al...@apache.org>
Date:   2016-04-04T20:01:16Z

    NIFI-1689 Correcting TimeUnit conversion to be milliseconds instead of the incorrect microseconds and using historical modified times to avoid issues with second granularity of HFS+

----


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