mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-11 13:41:53 +01:00
3d17049d52
* Improve PeridodicSchedulerImplTest The old implementation truncated timestamps to 1/10 s. Under some circumstances this could result in a failed tests: offset = 201 -> truncatedOffset = 2 200ms delay expected, adjustment calculation results in an actual delay of 198ms time = 399 -> truncatedTime = 3 expected: truncatedOffset + expected => 2 + 2 = 4 actual: truncatedTime = 3 The new implementation allows for an error of +/- 10ms which is far more than needed. * increase tolerance * fix consecutive executions build up errors Signed-off-by: Jan N. Klug <github@klug.nrw> |
||
---|---|---|
.. | ||
src | ||
.classpath | ||
.project | ||
NOTICE | ||
pom.xml |