[
https://issues.apache.org/jira/browse/NIFI-10925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17642380#comment-17642380
]
ASF subversion and git services commented on NIFI-10925:
--------------------------------------------------------
Commit c51411d360a8354a003bce3bd80a5cdec0d89d08 in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=c51411d360 ]
NIFI-10925 Refactored TestPutSFTP with discrete test methods
Signed-off-by: Pierre Villard <[email protected]>
This closes #6746.
> Intermittent Failures in TestPutSFTP.testRunZeroByteFile
> --------------------------------------------------------
>
> Key: NIFI-10925
> URL: https://issues.apache.org/jira/browse/NIFI-10925
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Project builds can fail intermittently on
> {{TestPutSFTP.testRunZeroByteFile()}} with the following error:
> {noformat}
> [ERROR] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.456
> s <<< FAILURE! - in org.apache.nifi.processors.standard.TestPutSFTP
> [ERROR] org.apache.nifi.processors.standard.TestPutSFTP.testRunZeroByteFile
> Time elapsed: 0.052 s <<< FAILURE!
> org.opentest4j.AssertionFailedError: expected: <1> but was: <0>
> 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.AssertEquals.failNotEqual(AssertEquals.java:197)
> at
> org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
> at
> org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
> at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:528)
> at
> org.apache.nifi.util.StandardProcessorTestRunner.assertTransferCount(StandardProcessorTestRunner.java:395)
> at
> org.apache.nifi.processors.standard.TestPutSFTP.testRunZeroByteFile(TestPutSFTP.java:119)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)