[ https://issues.apache.org/jira/browse/NIFI-11976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17757631#comment-17757631 ]
ASF subversion and git services commented on NIFI-11976: -------------------------------------------------------- Commit 5e20978b9e3a1b963ce5d084f1220fd9fea7fcd2 in nifi's branch refs/heads/support/nifi-1.x from David Handermann [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=5e20978b9e ] NIFI-11976 Removed error log check in TestListenTCPRecord Signed-off-by: Matt Burgess <mattyb...@apache.org> > 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 > Fix For: 1.latest, 2.latest > > Time Spent: 10m > Remaining Estimate: 0h > > 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)