From a68d16b3cf6c5bbb66ec97e66dfe45ef4cc86274 Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sat, 13 Jan 2024 17:39:07 +0100 Subject: [PATCH] change timeout --- .../resources/libraries/htmx/htmx-1.9.10/test/core/perf.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/resources/libraries/htmx/htmx-1.9.10/test/core/perf.js b/src/test/resources/libraries/htmx/htmx-1.9.10/test/core/perf.js index eacaa5b0f07..2781da51954 100644 --- a/src/test/resources/libraries/htmx/htmx-1.9.10/test/core/perf.js +++ b/src/test/resources/libraries/htmx/htmx-1.9.10/test/core/perf.js @@ -62,7 +62,8 @@ describe("Core htmx perf Tests", function() { htmx._("cleanInnerHtmlForHistory")(workArea); var end = performance.now(); var timeInMs = end - start; - chai.assert(timeInMs < 50, "Should take less than 50ms on most platforms"); + // change timeout for HtmlUnit builds chai.assert(timeInMs < 50, "Should take less than 50ms on most platforms"); + chai.assert(timeInMs < 200, "Should take less than 50ms on most platforms"); }) }) \ No newline at end of file