Truly independent web browser
Tests/LibWasm: Give the GC frames test room for sanitizer memory
Andreas Klinga388613264b1
diff --git a/Libraries/LibWasm/Tests/Executor/test-gc-frames.js b/Libraries/LibWasm/Tests/Executor/test-gc-frames.jsindex 82b006964cf..2f6f3b26823 100644--- a/Libraries/LibWasm/Tests/Executor/test-gc-frames.js+++ b/Libraries/LibWasm/Tests/Executor/test-gc-frames.js@@ -27,5 +27,6 @@ test("vector, float, i31 and cast references survive collections", () => {test("the garbage was collected", () => {// The rounds above allocate and write more than 2 GiB.- expect(peakResidentMemorySize() - before).toBeLessThan(512 * 1024 * 1024);+ // The limit leaves room for what a sanitizer adds to the resident memory.+ expect(peakResidentMemorySize() - before).toBeLessThan(1024 * 1024 * 1024);});