tests: relaxed constraint on the number of interval triggers (#4427)

This commit is contained in:
webzwo0i 2020-10-22 17:01:51 +02:00 committed by GitHub
parent 73dd3ffdf4
commit 047dfcdee9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
});
});