Fix test from unstable

This commit is contained in:
Pawan Dhananjay
2024-09-06 18:28:31 -07:00
parent 12c6ef118a
commit 2fcb2935ec

View File

@@ -972,6 +972,8 @@ mod test {
assert_eq!(cache.critical.read().len(), 1);
}
}
// remove the blob to simulate successful import
cache.remove_pending_components(root);
assert!(
cache.critical.read().is_empty(),
"cache should be empty now that all components available"