[ https://issues.apache.org/jira/browse/NIFI-10407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17599101#comment-17599101 ]
ASF subversion and git services commented on NIFI-10407: -------------------------------------------------------- Commit c19d6a0db15588a89f79c1e0ff8650270d77c94c in nifi's branch refs/heads/main from David Handermann [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=c19d6a0db1 ] NIFI-10407 Improved reliability of GetSmbFileTest - Changed TestRunner.run() to avoid clearing internal cache between runs - Updated Mockito usage with annotations Signed-off-by: Nathan Gough <thena...@gmail.com> This closes #6346. > Intermittent Failures in GetSmbFileTest > --------------------------------------- > > Key: NIFI-10407 > URL: https://issues.apache.org/jira/browse/NIFI-10407 > Project: Apache NiFi > Issue Type: Bug > Components: Tools and Build > Reporter: David Handermann > Assignee: David Handermann > Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > The {{GetSmbFileTest}} class fails intermittently in automated builds on > Windows for {{testBatchSize}} with the following assertion mismatch: > {noformat} > Error: org.apache.nifi.processors.smb.GetSmbFileTest.testBatchSize Time > elapsed: 0.063 s <<< FAILURE! > org.opentest4j.AssertionFailedError: expected: <20> but was: <10> > at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) > at > org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62) > 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:527) > at > org.apache.nifi.util.StandardProcessorTestRunner.assertTransferCount(StandardProcessorTestRunner.java:360) > at > org.apache.nifi.processors.smb.GetSmbFileTest.testBatchSize(GetSmbFileTest.java:284) > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)