diff --git a/tests/local.rs b/tests/local.rs index 5d1c483..6a0faf0 100644 --- a/tests/local.rs +++ b/tests/local.rs @@ -27,13 +27,15 @@ fn builds_local_registry() { versions: Vec, } + let lock = tame_index::utils::flock::FileLock::unlocked(); + for pkg in &md.packages { if pkg.name == "tame-index" { continue; } let ip = krates.entry(pkg.name.clone()).or_insert_with(|| { let ik = sparse - .cached_krate(pkg.name.as_str().try_into().unwrap()) + .cached_krate(pkg.name.as_str().try_into().unwrap(), &lock) .unwrap() .unwrap();