You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2021/03/29 18:24:00 UTC
[jira] [Updated] (NIFI-8379) Improve DBCPServiceTest Reliability
and Performance
[ https://issues.apache.org/jira/browse/NIFI-8379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann updated NIFI-8379:
-----------------------------------
Description:
{{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
was:
{{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
> 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
> Priority: Major
>
> {{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)