Commit 895ef7c
committed
fix(test): de-flake test_duration_collecting on fast CI runners
Writing 384 bytes (3-byte buffer x 128) can complete in sub-
millisecond time on fast runners, so `as_millis() > 0` flakes. The
intent is to confirm timing was accumulated (not Duration::default()),
which `as_nanos() > 0` checks reliably.1 parent 8c9ca3c commit 895ef7c
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
221 | 224 | | |
222 | 225 | | |
0 commit comments