]> git.proxmox.com Git - cargo.git/commit
Auto merge of #8587 - ehuss:close_output-fix, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 4 Aug 2020 23:14:37 +0000 (23:14 +0000)
committerbors <bors@rust-lang.org>
Tue, 4 Aug 2020 23:14:37 +0000 (23:14 +0000)
commit1653f354644834073d6d2541e27fae94588e685e
tree830f15bfb9a46dd9e62ad464d0e9aaf5e5e62525
parent964a16a28e234a3d397b2a7031d4ab4a428b1391
parent191250b910154e7aa6aefa029007cc1b1d2ec4d8
Auto merge of #8587 - ehuss:close_output-fix, r=alexcrichton

Fix close_output test.

The close_output test was randomly failing on rust-lang/rust's CI.  This should fix the error. I ran the test in a loop on the rust-lang 16-thread CPU for 10,000 times over the course of 1.5 hours without fail.  The same stress test without this patch failed relatively easily.

I'm a bit on the fence, as this means the test is no longer testing a realistic scenario (the compiler usually doesn't emit a megabyte of diagnostics). Moving this test to a single-threaded runner should also solve the problem. I can't decide if it matters enough to bother.  WDYT?

Closes #8564