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:
parent
64679642f2
commit
62de6548ca
1 changed files with 2 additions and 2 deletions
|
@ -289,9 +289,9 @@ lostMsgs = 0;
|
|||

|
||||
// we check that we got up to at least message 62 and
|
||||
// (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)
|
||||
TIMEOUT(4000000, if(lastMsg >= 62 && lastMissed <= 34) { log.testOK(); } );
|
||||
TIMEOUT(4000000, if(lastMsg >= 62 && lastMissed <= 45) { log.testOK(); } );
|
||||

|
||||
lastMsg = -1;
|
||||
lastMissed = -1;
|
||||
|
|
Loading…
Reference in a new issue