You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2015/12/31 22:46:39 UTC

[jira] [Commented] (NIFI-1145) Unit Tests timeout in some environments

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

Mark Payne commented on NIFI-1145:
----------------------------------

I have updated the title of this ticket to be more generic, as fixing this unit test has simply resulted in other unit tests timing out. So we will need to fix several unit tests possibly.

> 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: Mark Payne
>             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/%3C66915AAF-B7EE-4792-9CA0-1DB0583763AA@gmail.com%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)