From: bors Date: Tue, 16 May 2017 01:16:03 +0000 (+0000) Subject: Auto merge of #4051 - alexcrichton:fix-flaky-test, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~9^2~33 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8e35fd7d8b7b82ff09ee9b7178201a8b01843b98;p=cargo.git Auto merge of #4051 - alexcrichton:fix-flaky-test, r=alexcrichton 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. --- 8e35fd7d8b7b82ff09ee9b7178201a8b01843b98