Keep checked browser runtime versions independent of authority upgrades

This commit is contained in:
Timothy J. Aveni
2026-10-07 17:03:01 -07:00
parent 391f02f78a
commit 61534d3fb5
3 changed files with 24 additions and 7 deletions
+3
View File
@@ -48,6 +48,9 @@ test("metadata files reserve parse/index space before allocation and refuse over
await assert.rejects(readCandidateMetadata(join(root, "linked"), scope, 100), { code: "ELOOP" });
await assert.rejects(readCandidateMetadata(root, scope, 100), /CANDIDATE_METADATA_FILE_LIMIT/);
assert.equal(scope.bytes, first);
input.releaseTree();
input.releaseTree();
assert.equal(scope.bytes, 0, "Discarded validation trees can release independently of the candidate");
} finally {
scope.release();
await rm(root, { recursive: true, force: true });