1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/trickle/tests
Cenk Gündoğan df9e25353b test: trickle: fix condition for success
The current test implementation wrongly assumes that the diff between
two fired events (e1, e2) must always increase. That is not true, as
event e1 may reside on the upper part of [I/2, I) and e2 on the lower
part of [I, 2*I).

This commit fixes the test to look at the actual time that was randonmly
chosen from both intervals (t1, t2). Given that the intervals are
doubled, t1 must always be smaller than t2.
2018-11-05 16:58:54 +01:00
..
01-run.py test: trickle: fix condition for success 2018-11-05 16:58:54 +01:00