Skip to content

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

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

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

Conversation

@aslushnikov
Copy link
Copy Markdown
Contributor

@aslushnikov aslushnikov commented Feb 23, 2022

Fixes #12106

@aslushnikov aslushnikov merged commit 0a1c1da into microsoft:release-1.19 Feb 23, 2022
@aslushnikov aslushnikov deleted the cp branch February 23, 2022 21:15
aslushnikov added a commit to aslushnikov/playwright that referenced this pull request Feb 23, 2022
…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 added a commit that referenced this pull request Feb 23, 2022
…lders that are mounted (#12318)" (#12322)

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
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