mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix(chord): widen the origin-record heap bound for CI noise
This commit is contained in:
parent
cc08278a62
commit
20362c155e
1 changed files with 2 additions and 2 deletions
|
|
@ -502,8 +502,8 @@ describe("origins only from relays (decision, slice 10 security audit K1/K2)", (
|
|||
await churn(1, 2_000);
|
||||
const before = await settledHeap();
|
||||
await churn(2_001, 22_000);
|
||||
// About 1 KiB per origin before: 20 MiB.
|
||||
expect((await settledHeap()) - before).toBeLessThan(512 * 1024);
|
||||
// About 1 KiB per origin before: 20 MiB. The bound leaves room for heap noise (CI measured 0.6 MiB).
|
||||
expect((await settledHeap()) - before).toBeLessThan(4 * 1024 * 1024);
|
||||
expect(peer.closed).toBe(false);
|
||||
}, 60_000);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue