From 235ebde7d07cceec39bb75c783d7fa66684c8ba2 Mon Sep 17 00:00:00 2001 From: Nipunn Koorapati Date: Tue, 15 Nov 2016 09:51:12 -0800 Subject: [PATCH] Ignore the flaky lock test on older windows --- tests/concurrent.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 +}