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

Intermittent Failures in TestPutSFTP.testRunZeroByteFile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.20.0, 1.19.1
    • None
    • None

    Description

      Project builds can fail intermittently on TestPutSFTP.testRunZeroByteFile() with the following error:

      [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)
      

      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 - 20m
                  20m