aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ussd/ussd_test.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-11-13 17:40:09 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-11-14 13:35:42 +0100
commit72eb44cc51c2172a0880c8cef46f5873af180836 (patch)
treebbf26e4605f945d5fe0c0d827dfcada9ff24b9b2 /tests/ussd/ussd_test.c
parent7a0ca16eec9e5215fcb8ba931adac00e57648455 (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.
Diffstat (limited to 'tests/ussd/ussd_test.c')
0 files changed, 0 insertions, 0 deletions