[
https://issues.apache.org/jira/browse/NIFI-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann resolved NIFI-1186.
------------------------------------
Resolution: Cannot Reproduce
> TailFile unit test timing issue
> -------------------------------
>
> Key: NIFI-1186
> URL: https://issues.apache.org/jira/browse/NIFI-1186
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Joe Percivall
> Assignee: Mark Payne
> Priority: Minor
>
> When running a mvn clean install -Pcontrib-check on my windows machine I ran
> into this exception:
> testConsumeAfterTruncationStartAtCurrentTime(org.apache.nifi.processors.standard.TestTailFile)
> Time elapsed: 1.004
> sec <<< FAILURE!
> java.lang.AssertionError: expected:<1> 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:319
> )
> at
> org.apache.nifi.util.StandardProcessorTestRunner.assertAllFlowFilesTransferred(StandardProcessorTestRunne
> r.java:314)
> at
> org.apache.nifi.processors.standard.TestTailFile.testConsumeAfterTruncationStartAtCurrentTime(TestTailFil
> e.java:140)
> I think tried running just that test in Intellij and it succeeded. I then
> retried the mvn build and it succeeded.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)