Regression test 06-rpl-temporary-root-loss: give extra time for recovery, as the previous settings led to occasional stochastic failures

This commit is contained in:
Simon Duquennoy 2016-02-01 21:11:01 +01:00 committed by Simon Duquennoy
parent 64679642f2
commit 62de6548ca

View file

@ -289,9 +289,9 @@ lostMsgs = 0;

 
// we check that we got up to at least message 62 and
 // we check that we got up to at least message 62 and
// (the simulation is 4000000ms = 66 minutes long)
 // (the simulation is 4000000ms = 66 minutes long)
// that we did not lose anything since 34
 // that we did not lose anything since 45
// (the sink is back at 2000000ms = 33 minutes)
 // (the sink is back at 2000000ms = 33 minutes)
TIMEOUT(4000000, if(lastMsg >= 62 && lastMissed <= 34) { log.testOK(); } );
 TIMEOUT(4000000, if(lastMsg >= 62 && lastMissed <= 45) { log.testOK(); } );

 
lastMsg = -1;
 lastMsg = -1;
lastMissed = -1;
 lastMissed = -1;