Ignore the flaky lock test on older windows

This commit is contained in:
Nipunn Koorapati 2016-11-15 09:51:12 -08:00
parent 3e77640438
commit 235ebde7d0

View file

@ -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))
}
}
}