Retain validated child checkpoints for a prior observed size
This commit is contained in:
1 parent
128f0681f6
commit
c331205c8c
3 files changed
+81
-3
No files matched your search
@@ -664,7 +664,12 @@ fn child_checkpoints_reuse_only_the_validated_physical_prefix() {
|
||||
let guarded = NativeCompiler::default().with_automatic_entry_checkpoints();
|
||||
guarded.compile(request.clone().with_project(probed.clone())).unwrap();
|
||||
|
||||
for (revision, edit, reuse_leaf) in [(2, "200 points", true), (3, "3000 points", false)] {
|
||||
for (revision, edit, reuse_leaf) in [
|
||||
(2, "200 points", true),
|
||||
(3, "3000 points", false),
|
||||
(4, "400 points", true),
|
||||
(5, "5000 points", true),
|
||||
] {
|
||||
let changed = original.replace("100 points", edit);
|
||||
let bytes = changed.len() as i32;
|
||||
probed = probed.with_file_edits(revision, [(leaf.clone(), Arc::from(changed.into_bytes()))].into()).unwrap();
|
||||
|
||||
Reference in new issue
Block a user