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 2021/03/15 17:29:00 UTC

[jira] [Commented] (NIFI-8304) Improve reliability of TLS unit tests

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

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

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

NIFI-8304 Refactored InvokeHTTP unit tests using OkHttp MockWebServer

- Replaced Joda Time with java.time for date formatting
- Replaced Guava Files with java.nio.file.Files for cache directory
- Updated PutTCP test server to close connection when testing connection per FlowFile

NIFI-8304 Removed Thread wrapper for TestListenHTTP client requests

NIFI-8304 Disabled InvokeHTTP Connection Pooling for testing

NIFI-8304 Set 60 second timeout for testing TLS connections

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

This closes #4892.


> Improve reliability of TLS unit tests
> -------------------------------------
>
>                 Key: NIFI-8304
>                 URL: https://issues.apache.org/jira/browse/NIFI-8304
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Tools and Build
>    Affects Versions: 1.13.0
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Major
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> Automated unit test execution through the GitHub CI runner fails periodically on unit tests for InvokeHTTP and PutTCP where TLS is being used for socket communication.  These unit tests should be evaluated and modified to improve reliability and reduce the potential for timeouts.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)