Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-3975

Unit tests with conflicting output folder, resulting in intermittent build errors

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Done
    • Istanbul Release, Jakarta Release
    • Kohn Release
    • SDC
    • None

    Description

      org.openecomp.sdc.asdctool.impl.validator.utils.ReportManagerTest and org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts.ArtifactValidationUtilsTest uses the same output folder for reports, resulting in intermittent errors during the build tests execution, for example: 

      [ERROR] Failures: 
      [ERROR]   ArtifactValidationUtilsTest.testValidateArtifactsNotInCassandra:130->lambda$testValidateArtifactsNotInCassandra$1:142 expected: <Artifact testEsInCassandra is in Cassandra> but was: <Task: testTaskName>
      [ERROR]   ReportManagerTest.testPrintValidationTaskStatus:125 expected: <-----------------------Validation Tool Results:-------------------------> but was: <>
      [ERROR]   ReportManagerTest.testReportValidatorTypeSummary:155 expected: <-----------------------ValidatorExecuter testValidatorNamed Validation Summary-----------------------> but was: <>
      [ERROR] Errors: 
      [ERROR]   ReportManagerTest.testWriteReportLineToFile:133 » Runtime java.nio.file.NoSuch...

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andre.schmid André Schmid
            andre.schmid André Schmid
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: