# std.time: Make tests less flaky\. · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/31e7c95bd20801c6cb0cfbc47074333754f82ad5)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 31e7c95bd20801c6cb0cfbc47074333754f82ad5

Requested commit: 31e7c95bd20801c6cb0cfbc47074333754f82ad5

Commit: 31e7c95bd20801c6cb0cfbc47074333754f82ad5

Tree: 686401dc5aace6049da51edaba695e25134ef5b9

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.time: Make tests less flaky.

For the Timer decltest in particular, the margin check is not going to help if
the kernel just decides not to schedule the thread for a while after we call
timer.reset().

Failure observed here: https://github.com/ziglang/zig/actions/runs/13443634035/job/37563803341?pr=22909

```

## Parents

- [8d9bb9746165abf067851f490cfea8c49fbd59ea](https://git.cafe/gitcafe/zig/commit/8d9bb9746165abf067851f490cfea8c49fbd59ea?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/31e7c95bd20801c6cb0cfbc47074333754f82ad5?format=markdown)
