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

Unit tests intermittently fail in framework-cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.0.1
    • 0.0.1
    • Core Framework
    • None

    Description

      We see the following unit test failures on & off:
      Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.484 sec <<< FAILURE! - in org.apache.nifi.cluster.flow.impl.DataFlowManagementServiceImplTest
      testLoadFlowWithSameNodeIds(org.apache.nifi.cluster.flow.impl.DataFlowManagementServiceImplTest) Time elapsed: 0.014 sec <<< ERROR!
      org.apache.nifi.cluster.flow.DaoException: java.lang.IllegalStateException: Primary file '/tmp/primaryDataFlowManagementServiceImplTest/flow.tar' is different than restore file '/tmp/restoreDataFlowManagementServiceImplTest/flow.tar'
      at org.apache.nifi.util.file.FileUtils.syncWithRestore(FileUtils.java:580)
      at org.apache.nifi.cluster.flow.impl.DataFlowDaoImpl.<init>(DataFlowDaoImpl.java:177)
      at org.apache.nifi.cluster.flow.impl.DataFlowManagementServiceImplTest.setup(DataFlowManagementServiceImplTest.java:89)

      Attachments

        1. NIFI-212.patch.txt
          6 kB
          Mark Payne

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: