Skip to content

Commit 670b19a

Browse files
committed
Reduce threshold in ext/date/tests/bug73837.phpt
Now that this code is faster, we're seeing many spurious failures.
1 parent c639d34 commit 670b19a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/date/tests/bug73837.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ for ( $i = 0; $i < 1000; $i++ )
1111
$collect[$key] = true;
1212
}
1313

14+
// For low-resolution clocks, we may construct many objects in the same tick.
1415
var_dump($n = count( $collect ));
15-
echo ( $n > 700 ) ? "microseconds differ\n" : "microseconds do not differ enough ($n)\n";
16+
echo $n > 500 ? "microseconds differ\n" : "microseconds do not differ enough ($n)\n";
1617
?>
1718
--EXPECTF--
1819
int(%d)

0 commit comments

Comments
 (0)