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 2023/08/22 14:14:00 UTC
[jira] [Updated] (NIFI-11976) Intermittent Test Failures in TestListenTCPRecord on Windows
[ https://issues.apache.org/jira/browse/NIFI-11976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann updated NIFI-11976:
------------------------------------
Affects Version/s: 1.23.0
> Intermittent Test Failures in TestListenTCPRecord on Windows
> ------------------------------------------------------------
>
> Key: NIFI-11976
> URL: https://issues.apache.org/jira/browse/NIFI-11976
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.23.0, 1.23.1
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
>
> The {{TestListenTCPRecord}} class fails intermittently on Windows builds due to checking for empty error log messages.
> The loop check for success should ignore log messages and proceed until encountering other failures or timeouts.
> {noformat}
> Error: org.apache.nifi.processors.standard.TestListenTCPRecord.testRunClientAuthRequired -- Time elapsed: 0.095 s <<< FAILURE!
> org.opentest4j.AssertionFailedError: expected: <null> but was: <[ListenTCPRecord[id=e7524a6c-66ba-4132-88fc-7468a90724e6]] Error processing records: An established connection was aborted by the software in your host machine>
> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
> at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
> at org.junit.jupiter.api.AssertNull.failNotNull(AssertNull.java:50)
> at org.junit.jupiter.api.AssertNull.assertNull(AssertNull.java:35)
> at org.junit.jupiter.api.AssertNull.assertNull(AssertNull.java:30)
> at org.junit.jupiter.api.Assertions.assertNull(Assertions.java:275)
> at org.apache.nifi.processors.standard.TestListenTCPRecord.run(TestListenTCPRecord.java:241)
> at org.apache.nifi.processors.standard.TestListenTCPRecord.testRunClientAuthRequired(TestListenTCPRecord.java:170)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)