From 19ef3e367b1b2d1421ae0aafa67f7ce110497e60 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Mon, 12 Feb 2024 12:28:21 +0100 Subject: [PATCH] Tweak the issue 11878 unit-test parsing time check (PR 17428 follow-up) This unit-test has been failing occasionally in Chrome and Node.js, hence we tweak the parsing time check to reduce the likelihood of that happening. --- test/unit/api_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/api_spec.js b/test/unit/api_spec.js index 666ada005..7662c405e 100644 --- a/test/unit/api_spec.js +++ b/test/unit/api_spec.js @@ -3908,7 +3908,7 @@ Caron Broadcasting, Inc., an Ohio corporation (“Lessee”).`) checkedCopyLocalImage = true; // Ensure that the image was copied in the main-thread, rather // than being re-parsed in the worker-thread (which is slower). - expect(statsOverall).toBeLessThan(firstStatsOverall / 5); + expect(statsOverall).toBeLessThan(firstStatsOverall / 4); } } }