Commit df9a927
committed
fix(test): increase timeout in duration test to prevent flakiness
The test was flaky because it expected >= 10ms duration after sleeping
for 10ms, but due to timer precision and measurement overhead, it
sometimes received 9ms. Increasing the sleep to 50ms provides sufficient
buffer while still testing the duration measurement functionality.
Fixes #5071 parent e81002b commit df9a927
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments