Skip to content

Revert "chore: best-effort cleanup for output folders that are mounted (#12300)"#12321

Merged
aslushnikov merged 1 commit into
microsoft:mainfrom
aslushnikov:rrevert-1
Feb 23, 2022
Merged

Revert "chore: best-effort cleanup for output folders that are mounted (#12300)"#12321
aslushnikov merged 1 commit into
microsoft:mainfrom
aslushnikov:rrevert-1

Conversation

@aslushnikov
Copy link
Copy Markdown
Contributor

@aslushnikov aslushnikov commented Feb 23, 2022

This reverts commit e5c9d1e.

Reason for revert: turns out this fix results in a 5-second delay
when starting tests in docker, with test-results folder being
a non-removable mount.

The reason for the delay is the maxBusyTries option that we
supply by default to rimraf when trying to remove the folder.

While this option might come handy when removing temporary
browser profile folder, it doesn't serve us well in this particular
usecase.

References #12106

microsoft#12300)"

This reverts commit e5c9d1e.

Reason for revert: turns out this fix results in a 5-second delay
when starting tests in docker, with `test-results` folder being
a non-removable mount.

The reason for the delay is the `maxBusyTries` option that we
supply by default to rimraf when trying to remove the folder.

While this option might come handy when removing temporary
browser profile folder, it doesn't serve us well in this particular
usecase.
@aslushnikov aslushnikov merged commit df7fbe7 into microsoft:main Feb 23, 2022
@aslushnikov aslushnikov deleted the rrevert-1 branch February 23, 2022 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants