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

Test failure in TestFileSystemRepository causing travis build to be unstable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.6.0
    • Core Framework
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: