[riot-commits] [RIOT-OS/RIOT] df9e25: test: trickle: fix condition for success
Cenk Gündoğan
mail-github at cgundogan.de
Mon Nov 5 17:55:54 CET 2018
Branch: refs/heads/master
Home: https://github.com/RIOT-OS/RIOT
Commit: df9e25353b2427ed7f85fc019c310103091d6d9e
https://github.com/RIOT-OS/RIOT/commit/df9e25353b2427ed7f85fc019c310103091d6d9e
Author: Cenk Gündoğan <mail-github at cgundogan.de>
Date: 2018-11-05 (Mon, 05 Nov 2018)
Changed paths:
M tests/trickle/main.c
M tests/trickle/tests/01-run.py
Log Message:
-----------
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.
Commit: f6043e048ee784d46ea1f83483c6f7789c43606d
https://github.com/RIOT-OS/RIOT/commit/f6043e048ee784d46ea1f83483c6f7789c43606d
Author: Cenk Gündoğan <mail-github at cgundogan.de>
Date: 2018-11-05 (Mon, 05 Nov 2018)
Changed paths:
M tests/trickle/main.c
M tests/trickle/tests/01-run.py
Log Message:
-----------
Merge pull request #10328 from cgundogan/pr/trickle_test
test: trickle: fix condition for success
Compare: https://github.com/RIOT-OS/RIOT/compare/3122a3ea9c66...f6043e048ee7
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the commits
mailing list