Skip to content

Revert "cherry-pick(#12300): chore: best-effort cleanup for output folders that are mounted (#12318)"#12322

Merged
aslushnikov merged 1 commit into
microsoft:release-1.19from
aslushnikov:rrevert-2
Feb 23, 2022
Merged

Revert "cherry-pick(#12300): chore: best-effort cleanup for output folders that are mounted (#12318)"#12322
aslushnikov merged 1 commit into
microsoft:release-1.19from
aslushnikov:rrevert-2

Conversation

@aslushnikov
Copy link
Copy Markdown
Contributor

@aslushnikov aslushnikov commented Feb 23, 2022

This reverts commit 0a1c1da.

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

…output folders that are mounted (microsoft#12318)"

This reverts commit 0a1c1da.

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 microsoft#12106
@aslushnikov aslushnikov merged commit d07e05f into microsoft:release-1.19 Feb 23, 2022
@aslushnikov aslushnikov deleted the rrevert-2 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.

1 participant