20260410 完成五个rir 基于cir的三方回放,raw by hash 独立db,发现内存占用大,连续大rir 录制发生oom
This commit is contained in:
@@ -403,7 +403,6 @@ fn process_snapshot_for_issuer_drop_publication_point_on_invalid_aspa_bytes() {
|
||||
assert!(!out.warnings.is_empty());
|
||||
}
|
||||
|
||||
|
||||
#[test]
|
||||
fn process_snapshot_for_issuer_populates_local_outputs_cache_from_real_cernet_fixture() {
|
||||
let (dir, rsync_base_uri, manifest_file) = cernet_fixture();
|
||||
@@ -432,16 +431,21 @@ fn process_snapshot_for_issuer_populates_local_outputs_cache_from_real_cernet_fi
|
||||
None,
|
||||
);
|
||||
|
||||
assert!(!out.local_outputs_cache.is_empty(), "expected cached VCIR local outputs");
|
||||
assert!(
|
||||
!out.local_outputs_cache.is_empty(),
|
||||
"expected cached VCIR local outputs"
|
||||
);
|
||||
assert_eq!(out.local_outputs_cache.len(), out.vrps.len());
|
||||
assert!(out
|
||||
.local_outputs_cache
|
||||
.iter()
|
||||
.all(|entry| entry.output_type == VcirOutputType::Vrp));
|
||||
assert!(out
|
||||
.local_outputs_cache
|
||||
.iter()
|
||||
.all(|entry| entry.source_object_type == "roa"));
|
||||
assert!(
|
||||
out.local_outputs_cache
|
||||
.iter()
|
||||
.all(|entry| entry.output_type == VcirOutputType::Vrp)
|
||||
);
|
||||
assert!(
|
||||
out.local_outputs_cache
|
||||
.iter()
|
||||
.all(|entry| entry.source_object_type == "roa")
|
||||
);
|
||||
}
|
||||
|
||||
// NOTE: DN-based issuer resolution and pack-local CA indexing have been removed for determinism.
|
||||
|
||||
Reference in New Issue
Block a user