[ 
https://issues.apache.org/jira/browse/NIFI-10925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17642748#comment-17642748
 ] 

ASF subversion and git services commented on NIFI-10925:
--------------------------------------------------------

Commit 2c999fab6c8735232f5c480da9a0bf7d03e970e7 in nifi's branch 
refs/heads/support/nifi-1.19 from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=2c999fab6c ]

NIFI-10925 Refactored TestPutSFTP with discrete test methods

Signed-off-by: Pierre Villard <pierre.villard...@gmail.com>

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
>             Fix For: 1.20.0, 1.19.1
>
>          Time Spent: 20m
>  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)

Reply via email to