Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-10407

Intermittent Failures in GetSmbFileTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.18.0
    • Tools and Build
    • None

    Description

      The GetSmbFileTest class fails intermittently in automated builds on Windows for testBatchSize with the following assertion mismatch:

      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)
      

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m