From 047dfcdee93bd7e63358356c630f0ed9221d08db Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Thu, 22 Oct 2020 17:01:51 +0200 Subject: [PATCH] tests: relaxed constraint on the number of interval triggers (#4427) --- tests/frontend/specs/helper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/frontend/specs/helper.js b/tests/frontend/specs/helper.js index ad8fce389..94a0236fe 100644 --- a/tests/frontend/specs/helper.js +++ b/tests/frontend/specs/helper.js @@ -151,8 +151,8 @@ describe("the test helper", function(){ }, 2000, 100).fail(function(){ // One at the beginning, and 19-20 more depending on whether it's the timeout or the final // poll that wins at 2000ms. - expect(checks).to.be.greaterThan(18); - expect(checks).to.be.lessThan(22); + expect(checks).to.be.greaterThan(17); + expect(checks).to.be.lessThan(24); done(); }); });