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

Chris Herrera commented on NIFI-2692:
-------------------------------------

I managed to find the source of the problem. the issue is that the test is non 
deterministic. This situation occurs especially in cases where multiple threads 
are used to build, also if building on a slower systems. There are cases where 
the fairly low SMTP timeout would occur before the email was sent causing this 
timeout error. It was verified by injecting latency into the execution, and 
then removing the problematic statement that set the timeout to 10 seconds. 
Once the default of 60 was used this error should not occur anymore.

PR: 1924 - NIFI-2692: Fix for TestListenSMTP tests fail

> TestListenSMTP tests fail on Windows 10
> ---------------------------------------
>
>                 Key: NIFI-2692
>                 URL: https://issues.apache.org/jira/browse/NIFI-2692
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Aldrin Piri
>            Assignee: Chris Herrera
>
> All tests within TestListenSMTP fail on Windows 10 as initially reported by 
> [~jskora] and confirmed by myself while building.  These items seem to 
> timeout in that environment and with extended periods, seem to pass 
> successfully.



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

Reply via email to