mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix timings of Delay node tests
This commit is contained in:
parent
4d58902ba7
commit
6026da867b
@ -251,7 +251,8 @@ describe('delay Node', function() {
|
|||||||
var helperNode1 = helper.getNode("helperNode1");
|
var helperNode1 = helper.getNode("helperNode1");
|
||||||
var receivedMessagesStack = [];
|
var receivedMessagesStack = [];
|
||||||
|
|
||||||
var rate = 1000/aLimit;
|
// Add a small grace to the calculated delay
|
||||||
|
var rate = 1000/aLimit + 10;
|
||||||
|
|
||||||
var receiveTimestamp;
|
var receiveTimestamp;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user