Skip to content

Commit 0eee76e

Browse files
committed
Auto merge of #6267 - ehuss:fix-fix_path_deps-again, r=alexcrichton
Fix fix_path_deps again. The previous fix in #6236 wasn't enough to make this test not fail. On Travis MacOS it fails about 5% of the time. Essentially the first "FIXING" line is sometimes delayed until after the second "CHECKING" line. The "FIXING" message is sent async to the diagnostic server, so I think it's just a race that doesn't have a good way to enforce. Oddly, I can only repro this on Travis. Error seen at: https://travis-ci.org/rust-lang/cargo/jobs/450956693
2 parents f938c4f + 89413bd commit 0eee76e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testsuite/fix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ fn fix_path_deps() {
183183
p.cargo("fix --allow-no-vcs -p foo -p bar")
184184
.env("__CARGO_FIX_YOLO", "1")
185185
.with_stdout("")
186-
.with_stderr(
186+
.with_stderr_unordered(
187187
"\
188188
[CHECKING] bar v0.1.0 ([..])
189189
[FIXING] bar/src/lib.rs (1 fix)

0 commit comments

Comments
 (0)