Skip to content

Commit 2fcb293

Browse files
committed
Fix test from unstable
1 parent 12c6ef1 commit 2fcb293

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

beacon_node/beacon_chain/src/data_availability_checker/overflow_lru_cache.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,8 @@ mod test {
972972
assert_eq!(cache.critical.read().len(), 1);
973973
}
974974
}
975+
// remove the blob to simulate successful import
976+
cache.remove_pending_components(root);
975977
assert!(
976978
cache.critical.read().is_empty(),
977979
"cache should be empty now that all components available"

0 commit comments

Comments
 (0)