Skip to content

Commit fb8ffda

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Slightly increase tolerance in time_sleep_until() test
2 parents a2e98a6 + 7f02b5f commit fb8ffda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/misc/time_sleep_until_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
3030
}
3131

3232
// Add some tolerance for early wake on macos. Reason unknown.
33-
if ($now + 0.001 >= $sleepUntil) {
33+
if ($now + 0.002 >= $sleepUntil) {
3434
echo "Success\n";
3535
} else {
3636
echo "Sleep until (before truncation): ", $time, "\n";

0 commit comments

Comments
 (0)