Skip to content

Commit 273df35

Browse files
committed
Merge pull request #2040 from dlsniper/covermode-atomic
Use covermode atomic for tests coverage (fixes #2037)
2 parents 58f9fd3 + 021f95d commit 273df35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/goide/runconfig/testing/GoTestRunningState.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ protected GoExecutor patchExecutor(@NotNull GoExecutor executor) throws Executio
118118
}
119119

120120
if (myCoverageFilePath != null) {
121-
executor.withParameters("-coverprofile=" + myCoverageFilePath, "-covermode=count");
121+
executor.withParameters("-coverprofile=" + myCoverageFilePath, "-covermode=atomic");
122122
}
123123

124124
return executor;

0 commit comments

Comments
 (0)