Increase test tolerance to try to fix random orange.

This commit is contained in:
L. David Baron 2009-10-08 08:13:49 -07:00
Родитель 8b8c67adf8
Коммит ee4010f267
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -405,8 +405,8 @@ function check_transition_value(func, start_time, end_time,
} else { } else {
// seconds // seconds
// FIXME: Why do we need so much tolerance at the low end of the // FIXME: Why do we need so much tolerance at the low end of the
// range (primarily for Mac)? // range?
time_range = [ (gCurrentTime - gStartTime2 - 40) / 1000, time_range = [ (gCurrentTime - gStartTime2 - 80) / 1000,
(Date.now() - gStartTime1 + 20) / 1000 ]; (Date.now() - gStartTime1 + 20) / 1000 ];
uns_range = [ value_at(time_range[0], -0.01), uns_range = [ value_at(time_range[0], -0.01),
value_at(time_range[1], 0.01) ]; value_at(time_range[1], 0.01) ];