]> granicus.if.org Git - php/commitdiff
Reduce date test threshold further
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 5 Mar 2021 15:31:24 +0000 (16:31 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 5 Mar 2021 15:31:24 +0000 (16:31 +0100)
Still seeing the occasional spurious failure.

ext/date/tests/bug73837.phpt

index e9deaff51fb9f1be6c1697dcd6849d14a8377912..7319a1327f430cd351df0ccc51a265a8b4e8f673 100644 (file)
@@ -13,7 +13,7 @@ for ( $i = 0; $i < 1000; $i++ )
 
 // For low-resolution clocks, we may construct many objects in the same tick.
 var_dump($n = count( $collect ));
-echo $n > 500 ? "microseconds differ\n" : "microseconds do not differ enough ($n)\n";
+echo $n > 400 ? "microseconds differ\n" : "microseconds do not differ enough ($n)\n";
 ?>
 --EXPECTF--
 int(%d)