Fix timings of Delay node tests

This commit is contained in:
Nick O'Leary 2019-10-25 11:47:55 +01:00
parent 4d58902ba7
commit 6026da867b
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -251,7 +251,8 @@ describe('delay Node', function() {
var helperNode1 = helper.getNode("helperNode1");
var receivedMessagesStack = [];
var rate = 1000/aLimit;
// Add a small grace to the calculated delay
var rate = 1000/aLimit + 10;
var receiveTimestamp;