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

Marco Gaido commented on NIFI-4760:
-----------------------------------

Thanks [~jzemerick], on my host it works perfectly run anyway and my config is 
very close to your:

Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 
2017-04-03T21:39:06+02:00)
Maven home: /usr/local/Cellar/maven/3.5.0/libexec
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.1", arch: "x86_64", family: "mac"

It may be a problem in sending data. The timeout is 5 seconds, and if a 
connection is failing in your case, it will hang for 1 minute. So this is a 
possibility. But it's hard to say without further info.

> TestListenSMTP tests fail on OSX
> --------------------------------
>
>                 Key: NIFI-4760
>                 URL: https://issues.apache.org/jira/browse/NIFI-4760
>             Project: Apache NiFi
>          Issue Type: Test
>    Affects Versions: 1.5.0
>            Reporter: Jeff Zemerick
>            Priority: Minor
>
> When building 1.5.0 on OSX High Sierra with the following command:
> mvn clean install -Pcontrib-check
> (At first I thought it was because I was doing -T 1C but it fails without 
> parallel, too.)
> Some tests in TestListenSMTP reliably fail:
> Results :
> Failed tests: 
>   TestListenSMTP.validateSuccessfulInteraction:88
>   TestListenSMTP.validateSuccessfulInteractionWithTls:150
>   TestListenSMTP.validateTooLargeMessage:192
> The relevant test output:
> validateSuccessfulInteraction(org.apache.nifi.processors.email.TestListenSMTP)
>   Time elapsed: 15.069 sec  <<< FAILURE!
> java.lang.AssertionError
>       at 
> org.apache.nifi.processors.email.TestListenSMTP.validateSuccessfulInteraction(TestListenSMTP.java:88)
> validateSuccessfulInteractionWithTls(org.apache.nifi.processors.email.TestListenSMTP)
>   Time elapsed: 16.514 sec  <<< FAILURE!
> java.lang.AssertionError
>       at 
> org.apache.nifi.processors.email.TestListenSMTP.validateSuccessfulInteractionWithTls(TestListenSMTP.java:150)
> validateTooLargeMessage(org.apache.nifi.processors.email.TestListenSMTP)  
> Time elapsed: 21.516 sec  <<< FAILURE!
> java.lang.AssertionError
>       at 
> org.apache.nifi.processors.email.TestListenSMTP.validateTooLargeMessage(TestListenSMTP.java:192)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to