Skip to content

testscript: RemoveAll flakes after the code coverage refactor  #130

@mvdan

Description

@mvdan

See https://github.com/rogpeppe/go-internal/runs/1986747862?check_suite_focus=true, for example:

non-directory found after RemoveAll: $WORK/tmp/testscript-main205091895/cover/foo-2a9d214c00ea
2021/02/26 10:31:15 cannot merge cover profiles: unlinkat $WORK/tmp/testscript-main205091895/cover: directory not empty
exit status 2
FAIL	test	0.308s

These rare flakes started happening since #119 was merged. I'm not sure yet on what the underlying cause is, but I have a couple of theories I need to investigate.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions