Skip to content

Commit a6b2148

Browse files
committedDec 9, 2018
Auto merge of #6411 - ehuss:fix-bfbo, r=alexcrichton
Fix flakey broken_fixes_backed_out test. Since `fix` does `--all-targets` there is a race condition as to which target goes first. This has less than a 1% failure rate on CI, but it has been seen several times lately: https://ci.appveyor.com/project/rust-lang-libs/cargo/builds/20878003/job/v01k5j14od50mghw https://ci.appveyor.com/project/rust-lang-libs/cargo/builds/18699824/job/465w7uav7ew24yka https://ci.appveyor.com/project/rust-lang-libs/cargo/builds/17283788/job/7cxp8bwm4d3i1xgl
2 parents 7d43b38 + 49d753e commit a6b2148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/testsuite/fix.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ fn broken_fixes_backed_out() {
123123
p.cargo("build").cwd(p.root().join("foo")).run();
124124

125125
// Attempt to fix code, but our shim will always fail the second compile
126-
p.cargo("fix --allow-no-vcs")
126+
p.cargo("fix --allow-no-vcs --lib")
127127
.cwd(p.root().join("bar"))
128128
.env("__CARGO_FIX_YOLO", "1")
129129
.env("RUSTC", p.root().join("foo/target/debug/foo"))

0 commit comments

Comments
 (0)
Please sign in to comment.