diff options
| author | Space Meyer <spm@google.com> | 2022-10-07 10:08:07 +0000 |
|---|---|---|
| committer | Space Meyer <git@the-space.agency> | 2022-10-07 15:14:53 +0200 |
| commit | 0de35f24a4d2da07a3436f9d227c30d15f508beb (patch) | |
| tree | 6904ff43fb27f0054d8b390ff4350d69f7cd4236 /pkg/csource | |
| parent | 79a5963585ac032cd3f390a37b5d276f7f9d0b5c (diff) | |
pkg/cover: mitigate datarace in generateReport
After merging #3409 the test case TestReportGenerator became flaky[0].
The problem is caused by our tests using the same 'Test' struct instance
in multiple tests in parallel. Hence when overwriting test.Progs in one
test run, another test run might be reading it at the same time.
[0] https://github.com/google/syzkaller/actions/runs/3198309451/jobs/5222669976
Diffstat (limited to 'pkg/csource')
0 files changed, 0 insertions, 0 deletions
