Aldrin Piri created NIFI-1145:
---------------------------------
Summary: TestStandardFlowFileQueue#testDropSwappedFlowFiles fails
in certain environments
Key: NIFI-1145
URL: https://issues.apache.org/jira/browse/NIFI-1145
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework, Tools and Build
Affects Versions: 0.3.0
Reporter: Aldrin Piri
This was first reported by Jeff on the dev mailing list using CentOS 7 and JDK
8 (both OpenJDK and Oracle, at times) and has since also been reproduced in the
Travis CI environment (Ubuntu LTS 12.04 with Oracle JDK 8, JDK 7 is fine).
The associated thread on the mailing list is available at
https://mail-archives.apache.org/mod_mbox/nifi-dev/201511.mbox/%[email protected]%3E
Limited sample size suggests it is a JDK 8 issue on Linux.
Failure is:
{code}
Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 29.094 sec <<<
FAILURE! - in org.apache.nifi.controller.TestStandardFlowFileQueue
testDropSwappedFlowFiles(org.apache.nifi.controller.TestStandardFlowFileQueue)
Time elapsed: 21.461 sec <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 20000
milliseconds
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Throwable.java:783)
at java.lang.Throwable.<init>(Throwable.java:250)
at
org.mockito.internal.debugging.LocationImpl.<init>(LocationImpl.java:24)
at
org.mockito.internal.debugging.LocationImpl.<init>(LocationImpl.java:19)
at
org.mockito.internal.invocation.InvocationImpl.<init>(InvocationImpl.java:50)
at
org.mockito.internal.creation.cglib.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:58)
at
org.apache.nifi.connectable.Connection$$EnhancerByMockitoWithCGLIB$$f8cf731f.getDestination(<generated>)
at
org.apache.nifi.controller.StandardFlowFileQueue.put(StandardFlowFileQueue.java:316)
at
org.apache.nifi.controller.TestStandardFlowFileQueue.testDropSwappedFlowFiles(TestStandardFlowFileQueue.java:198)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)