You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/06/02 09:37:00 UTC

[jira] [Commented] (NIFI-10075) Intermittent Failures in TestListSFTP

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

ASF subversion and git services commented on NIFI-10075:
--------------------------------------------------------

Commit 1f9672c18bd6ccac4386bae8083793d8e74dd9df in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1f9672c18b ]

NIFI-10075 Improved TestListSFTP configuration verification

- Changed assertVerificationSuccess() to separate testVerificationSuccessful() method
- Upgraded TestListSFTP to JUnit 5

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #6092.


> Intermittent Failures in TestListSFTP
> -------------------------------------
>
>                 Key: NIFI-10075
>                 URL: https://issues.apache.org/jira/browse/NIFI-10075
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.16.2
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The {{TestListSFTP}} class fails intermittently on automated builds due to connection timeout failures. The test should be evaluated to improve test SFTP server behavior.
> {noformat}
>  Error:  org.apache.nifi.processors.standard.TestListSFTP.testRunWithRecordWriter  Time elapsed: 0.029 s  <<< ERROR!
> org.apache.nifi.processors.standard.socket.ClientConnectException: SSH Client connection failed [127.0.0.1:38771]
> 	at org.apache.nifi.processors.standard.TestListSFTP.assertVerificationSuccess(TestListSFTP.java:184)
> 	at org.apache.nifi.processors.standard.TestListSFTP.setUp(TestListSFTP.java:77)
> Caused by: net.schmizz.sshj.transport.TransportException: Timeout expired
> 	at org.apache.nifi.processors.standard.TestListSFTP.assertVerificationSuccess(TestListSFTP.java:184)
> 	at org.apache.nifi.processors.standard.TestListSFTP.setUp(TestListSFTP.java:77)
> Caused by: java.util.concurrent.TimeoutException: Timeout expired
> 	at org.apache.nifi.processors.standard.TestListSFTP.assertVerificationSuccess(TestListSFTP.java:184)
> 	at org.apache.nifi.processors.standard.TestListSFTP.setUp(TestListSFTP.java:77)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)