Uploaded image for project: 'SonarSlang'
  1. SonarSlang
  2. SONARSLANG-531

Don't locate test files for test reports, if they don't belong given module

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.2
    • Component/s: Kotlin, Surefire
    • Labels:
      None

      Description

      In Gradle multimodule project we have an issue:

      If reports path property in different modules point to the same directory, surefire plugin for Kotlin will parse reports twice and fail trying to save the same metric for the second time.

      The solution could be to not locate test files which don't belong to the current module. As for now all files can be located because fs is pointed to the root.

        Attachments

          Activity

            People

            Assignee:
            margarita.nedzelska Margarita Nedzelska
            Reporter:
            margarita.nedzelska Margarita Nedzelska
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: