updated usage of time.time to time.monotonic or time.perf_counter due to time.time possibly rolling backwards
This commit is contained in:
parent
b9bbf397c9
commit
45a23a6c14
11 changed files with 29 additions and 29 deletions
|
@ -523,7 +523,7 @@ class TestGui:
|
|||
MessageFlags.ADD.value,
|
||||
[
|
||||
(EventTlvs.TYPE, EventTypes.SCHEDULED.value),
|
||||
(EventTlvs.TIME, str(time.time() + 100)),
|
||||
(EventTlvs.TIME, str(time.monotonic() + 100)),
|
||||
(EventTlvs.NODE, node.id),
|
||||
(EventTlvs.NAME, "event"),
|
||||
(EventTlvs.DATA, "data"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue