tests: relaxed constraint on the number of interval triggers (#4427)
This commit is contained in:
parent
73dd3ffdf4
commit
047dfcdee9
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue