Dotnet test command is taking to long to get a reponse from sonar cloud in azure devops

Template for a good new topic, formatted with Markdown:

  • ALM used ( Azure DevOps)
  • CI system used ( Azure DevOps)
  • Scanner command used when applicable (private details masked)
- task: DotNetCoreCLI@2
    displayName: Test
    inputs:
      command: test
      projects: |
        **/*[Tt]ests/*.csproj
        !**/*Integration*.csproj
      arguments: '--configuration ${{ parameters.buildConfiguration }} /p:CollectCoverage=true /p:CoverletOutput=$(Agent.TempDirectory)/coverage/ /p:MergeWith=$(Agent.TempDirectory)/coverage/ --collect:"XPlat Code Coverage" --settings ".runsettings"'

Any ideas how to increase performance

Hi,

Welcome to the community!

Can you give a little more context? Is this in the initial calls at the beginning of analysis? On submission of the analysis report? Getting the Quality Gate status?

 
Ann