mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
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(){
|
}, 2000, 100).fail(function(){
|
||||||
// One at the beginning, and 19-20 more depending on whether it's the timeout or the final
|
// One at the beginning, and 19-20 more depending on whether it's the timeout or the final
|
||||||
// poll that wins at 2000ms.
|
// poll that wins at 2000ms.
|
||||||
expect(checks).to.be.greaterThan(18);
|
expect(checks).to.be.greaterThan(17);
|
||||||
expect(checks).to.be.lessThan(22);
|
expect(checks).to.be.lessThan(24);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue