[ticket/10103] Try a longer sleep for travis.

Apparently travis takes longer than half a second to fork php.

PHPBB3-10103
This commit is contained in:
Oleg Pudeyev 2012-12-04 02:38:57 -05:00
parent 318140b4d6
commit fc410e1cd0

View file

@ -69,7 +69,7 @@ class phpbb_lock_flock_test extends phpbb_test_case
{ {
// parent // parent
// wait 0.5 s, acquire the lock, note how long it took // wait 0.5 s, acquire the lock, note how long it took
sleep(0.5); sleep(1);
$lock = new phpbb_lock_flock($path); $lock = new phpbb_lock_flock($path);
$start = time(); $start = time();