Increase delay burst test timeout

The test was occasionally timing out, despite it succeeding. Increased
the timeout to give it a bit more safety margin to complete
This commit is contained in:
Nick O'Leary 2015-10-03 09:04:57 +01:00
parent b666734c79
commit 9e91e42a1b
1 changed files with 45 additions and 45 deletions

View File

@ -405,7 +405,7 @@ describe('delay Node', function() {
}); });
it('handles bursts using a buffer', function(done) { it('handles bursts using a buffer', function(done) {
this.timeout(6000); this.timeout(8000);
var flow = [{"id":"delayNode1","type":"delay","name":"delayNode","pauseType":"rate","timeout":5,"timeoutUnits":"seconds","rate":1000,"rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"wires":[["helperNode1"]]}, var flow = [{"id":"delayNode1","type":"delay","name":"delayNode","pauseType":"rate","timeout":5,"timeoutUnits":"seconds","rate":1000,"rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"wires":[["helperNode1"]]},
{id:"helperNode1", type:"helper", wires:[]}]; {id:"helperNode1", type:"helper", wires:[]}];