Commit 31e7c95
committed
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=229091 parent 8d9bb97 commit 31e7c95
1 file changed
+1
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
84 | | - | |
85 | | - | |
86 | 82 | | |
87 | 83 | | |
88 | 84 | | |
| |||
277 | 273 | | |
278 | 274 | | |
279 | 275 | | |
280 | | - | |
281 | | - | |
282 | 276 | | |
| 277 | + | |
283 | 278 | | |
284 | 279 | | |
285 | 280 | | |
286 | | - | |
287 | | - | |
288 | 281 | | |
289 | 282 | | |
290 | 283 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | 284 | | |
295 | 285 | | |
296 | 286 | | |
| |||
0 commit comments