mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-05 12:16:45 +02:00
tests: relaxed constraint on the number of interval triggers (#4427)
This commit is contained in:
parent
73dd3ffdf4
commit
047dfcdee9
@ -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…
x
Reference in New Issue
Block a user