From: Nipunn Koorapati Date: Tue, 15 Nov 2016 17:51:12 +0000 (-0800) Subject: Ignore the flaky lock test on older windows X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~13^2^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=235ebde7d07cceec39bb75c783d7fa66684c8ba2;p=cargo.git Ignore the flaky lock test on older windows --- diff --git a/tests/concurrent.rs b/tests/concurrent.rs index a2b827f56..bd3963d09 100644 --- a/tests/concurrent.rs +++ b/tests/concurrent.rs @@ -343,7 +343,9 @@ fn same_project() { // Make sure that if Cargo dies while holding a lock that it's released and the // next Cargo to come in will take over cleanly. +// older win versions don't support job objects, so skip test there #[test] +#[cfg_attr(target_env = "msvc", ignore)] fn killing_cargo_releases_the_lock() { let p = project("foo") .file("Cargo.toml", r#" @@ -496,4 +498,4 @@ fn no_deadlock_with_git_dependencies() { assert_that(result, execs().with_status(0)) } -} \ No newline at end of file +}