Skip to content

Fix a flaky concurrent test with correct locking#4051

Merged
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:fix-flaky-test
May 16, 2017
Merged

Fix a flaky concurrent test with correct locking#4051
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:fix-flaky-test

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

The recent refactoring to clone the bare registry left in an accidental path
where index checkouts could clobber one another. This commit updates the logic
with proper locking and attempt ordering, attempting a full retry of the open
operation after the index locked.

The recent refactoring to clone the bare registry left in an accidental path
where index checkouts could clobber one another. This commit updates the logic
with proper locking and attempt ordering, attempting a full retry of the open
operation after the index locked.
@rust-highfive

Copy link
Copy Markdown

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton

Copy link
Copy Markdown
Member Author

@bors: r+

@bors

bors commented May 15, 2017

Copy link
Copy Markdown
Contributor

📌 Commit 7b44acc has been approved by alexcrichton

@bors

bors commented May 16, 2017

Copy link
Copy Markdown
Contributor

⌛ Testing commit 7b44acc with merge 8e35fd7...

bors added a commit that referenced this pull request May 16, 2017
Fix a flaky concurrent test with correct locking

The recent refactoring to clone the bare registry left in an accidental path
where index checkouts could clobber one another. This commit updates the logic
with proper locking and attempt ordering, attempting a full retry of the open
operation after the index locked.
@bors

bors commented May 16, 2017

Copy link
Copy Markdown
Contributor

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 8e35fd7 to master...

@bors
bors merged commit 7b44acc into rust-lang:master May 16, 2017
@alexcrichton
alexcrichton deleted the fix-flaky-test branch May 16, 2017 15:17
@ehuss ehuss added this to the 1.19.0 milestone Feb 6, 2022
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.

5 participants