Skip to content

Commit

Permalink
doc: Improve syntax of ellipsis placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Ribeiro authored Sep 6, 2022
1 parent 72e33b3 commit 0c0fc86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/troubleshooting-coverage-cli-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r <coverage report f
If you're using dotCover to generate coverage reports for your C# projects, you must use the dotCover detailedXML report format as follows:

```bash
dotCover.exe cover ... --reportType=DetailedXml
dotCover.exe cover <...> --reportType=DetailedXml
```

## JsonParseException while uploading coverage data
Expand All @@ -70,14 +70,14 @@ There are some ways you can solve this:
- **If you're using dotCover to generate coverage reports for your C# projects**, you should [exclude xUnit files](https://www.jetbrains.com/help/dotcover/Running_Coverage_Analysis_from_the_Command_LIne.html#filters_cmd) from the coverage analysis as follows:

```bash
dotCover.exe cover ... /Filters=-:xunit*
dotCover.exe cover <...> /Filters=-:xunit*
```

By default, dotCover includes xUnit files in the coverage analysis and this results in larger coverage reports. This filter helps ensure that the resulting coverage data does not exceed the size limit accepted by the Codacy API when uploading the results.

## Connect timed out while uploading coverage data

If you get a `Error doing a post to ... connect timed out` error while uploading your coverage data to Codacy it means that the Codacy Coverage Reporter is timing out while connecting to the Codacy API. This typically happens if you're uploading coverage data for larger repositories.
If you get a `Error doing a post to <...> connect timed out` error while uploading your coverage data to Codacy it means that the Codacy Coverage Reporter is timing out while connecting to the Codacy API. This typically happens if you're uploading coverage data for larger repositories.
To increase the default timeout while connecting to the Codacy API, use the flag `--http-timeout` to set a value larger than 10000 miliseconds. For example, to set the timeout to 30 seconds:
Expand Down

0 comments on commit 0c0fc86

Please sign in to comment.