Skip to content

Mitigate race conditions in Unix platform implementation - #245

Merged
craigfe merged 1 commit into
mirage:masterfrom
craigfe:unix-platform-toctou
May 22, 2020
Merged

craigfe merged 1 commit into
mirage:masterfrom
craigfe:unix-platform-toctou

Conversation

@craigfe

@craigfe craigfe commented May 22, 2020 •

Copy link
Copy Markdown
Member

See #242 (comment).

The test suite creates contention for these symlinks, so we were occasionally getting failures due to these race conditions. This just adds a few retries to each operation on failure.

@craigfe craigfe changed the title Fix race conditions in Unix platform implementation Mitigate race conditions in Unix platform implementation May 22, 2020
Comment thread src/alcotest/alcotest.ml Resolved
@craigfe
craigfe merged commit e0cb1ba into mirage:master May 22, 2020
kit-ty-kate added a commit to kit-ty-kate/opam-repository that referenced this pull request Jul 21, 2020
kit-ty-kate added a commit to kit-ty-kate/opam-repository that referenced this pull request Jul 26, 2020
@craigfe
craigfe deleted the unix-platform-toctou branch August 18, 2020 14:16
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