[php-src] Issue #22508: Flaky hrtime.phpt test
| From: | mbeccati | Date: | Mon, 29 Jun 2026 10:09:09 +0000 |
| Subject: | [php-src] Issue #22508: Flaky hrtime.phpt test | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-252302@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/22508
Author: mbeccati
### Description
I've never seen this happening, but earlier today I had a number of failures on the
ext/standard/tests/hrtime/hrtime.phpt test while doing test runs for the 8.6.0alpha1
packaging.
```
TEST 1/1 [ext/standard/tests/hrtime/hrtime.phpt]
========DIFF========
001- OK, %f
001+ FAIL, 0.050114826176838
========DONE========
FAIL Test hrtime() aligns with microtime() [ext/standard/tests/hrtime/hrtime.phpt]
```
Perhaps it could be worth increasing the 0.05 hard limit that is set in the test?
### PHP Version
```plain
master
```
### Operating System
Ubuntu 26.04