[
https://issues.apache.org/jira/browse/NIFI-8379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17311551#comment-17311551
]
ASF subversion and git services commented on NIFI-8379:
-------------------------------------------------------
Commit 02ea103c6ba22c1085e43a14c2939da9702ca7c8 in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=02ea103 ]
NIFI-8379 This closes #4949. Improved reliability and performance of
DBCPServiceTest
- Removed unreliable H2 network connection test methods
- Removed duplicate and ignored test methods
- Reduced duplication of setting common service properties
Signed-off-by: Joe Witt <[email protected]>
> Improve DBCPServiceTest Reliability and Performance
> ---------------------------------------------------
>
> Key: NIFI-8379
> URL: https://issues.apache.org/jira/browse/NIFI-8379
> Project: Apache NiFi
> Issue Type: Task
> Components: Extensions
> Affects Versions: 1.14.0
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {{DBCPServiceTest.testDropInvalidConnectionsH2_Default}} recently failed
> during an automated build with the following:
> {quote}org.h2.jdbc.JdbcSQLException: Connection is broken:
> "java.net.ConnectException: Connection refused (Connection refused):
> localhost:9092" [90067-192]
> {quote}
>
> The test class has several other issues that should be addressed for
> performance and reliability:
> * Hard-coded test server port in some methods
> * Thread.sleep() in multiple methods for several seconds
> * Ignored test methods
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)