commit | 72eb44cc51c2172a0880c8cef46f5873af180836 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@gnumonks.org> | Sun Nov 13 17:40:09 2011 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Nov 14 13:35:42 2011 +0100 |
tree | bbf26e4605f945d5fe0c0d827dfcada9ff24b9b2 | |
parent | 7a0ca16eec9e5215fcb8ba931adac00e57648455 [diff] |
tests: timer: set maximum wait time to obtain test results If the timer test takes more than 2 * (number of steps + 10), we abort the test. This calculation is based on the maximum timeout randomly set (10 seconds) plus the number of steps (some existing timers may be reset in each step). We double this to have some extra grace time to finish.