mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Change matchesRoughly threshold slightly in DbDatetimeTest to allow for slower database server connections (from r111821)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112924 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
6449e3a1a7
commit
7d09ef3e60
@ -8,7 +8,7 @@ class DbDatetimeTest extends FunctionalTest {
|
||||
* can overflow to the next second giving offset readings.
|
||||
*/
|
||||
private function matchesRoughly($date1, $date2, $comment = '') {
|
||||
$allowedDifference = 5; // seconds
|
||||
$allowedDifference = 15; // seconds
|
||||
|
||||
$time1 = is_numeric($date1) ? $date1 : strtotime($date1);
|
||||
$time2 = is_numeric($date2) ? $date2 : strtotime($date2);
|
||||
|
Loading…
Reference in New Issue
Block a user