From: bors Date: Sat, 31 Dec 2016 02:48:35 +0000 (+0000) Subject: Auto merge of #3480 - alexcrichton:one-flaky-test, r=brson X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~11^2~58 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c95b873605440ee0de6a1e3350f879685eac42c6;p=cargo.git Auto merge of #3480 - alexcrichton:one-flaky-test, r=brson Protect against spurious failure in ctrl_c test A failure was witnessed in the Rust repository [1] which happened right after this test and was a problem removing a directory. Local testing confirms that if you kill Cargo then right afterwards it's very unlikely to be able to remove the build directory, presumably because the child process is still getting torn down in the background. This commit fixes the ctrl_c test itself to wait for itself to release the bulid directory, at which point the test has definitely passed. [1]: https://ci.appveyor.com/project/rust-lang/rust/build/1.0.1331/job/xq4ogmglj7sllibw --- c95b873605440ee0de6a1e3350f879685eac42c6