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

Test failure in TestFileSystemRepository causing travis build to be unstable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: Core Framework
    • Labels:
      None

      Description

      We see the following test failure intermittently in travis:

      [ERROR] Tests run: 32, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 13.143 s <<< FAILURE! - in org.apache.nifi.controller.repository.TestFileSystemRepository [ERROR] testMinimalArchiveCleanupIntervalHonoredAndLogged(org.apache.nifi.controller.repository.TestFileSystemRepository) Time elapsed: 0.211 s <<< ERROR! java.util.ConcurrentModificationException at org.apache.nifi.controller.repository.TestFileSystemRepository.testMinimalArchiveCleanupIntervalHonoredAndLogged(TestFileSystemRepository.java:151)

       

      This appears to be a threading bug, giving that it's a ConcurrentModificationException that happens sporadically. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markap14 Mark Payne
                Reporter:
                markap14 Mark Payne
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: