[
https://issues.apache.org/jira/browse/NIFI-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15083069#comment-15083069
]
Aldrin Piri commented on NIFI-1145:
-----------------------------------
Have additionally seen errors at times for
org.apache.nifi.processors.standard.TestListenSyslog#testTCPSingleConnectionWithNewLines
{code}
testTCPSingleConnectionWithNewLines(org.apache.nifi.processors.standard.TestListenSyslog)
Time elapsed: 0.061 sec <<< ERROR!
java.util.ConcurrentModificationException: null
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922)
at java.util.HashMap$KeyIterator.next(HashMap.java:956)
at
java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1067)
at
org.apache.nifi.processors.standard.ListenSyslog$SocketChannelDispatcher.close(ListenSyslog.java:763)
at
org.apache.nifi.processors.standard.ListenSyslog.onUnscheduled(ListenSyslog.java:317)
at
org.apache.nifi.processors.standard.TestListenSyslog.testTCPSingleConnectionWithNewLines(TestListenSyslog.java:214)
{code}
> Unit Tests timeout in some 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
> Assignee: Aldrin Piri
> Labels: travis-ci
> Fix For: 0.5.0
>
>
> 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)