[Phpmyadmin-devel] UT for import Sharp file encouters a "Maximum execution time exceeded" error

adam adamgsoc2013 at gmail.com
Mon Sep 16 03:53:44 CEST 2013


Hi Michal,

>Hi Adam
>
>Dne Sat, 14 Sep 2013 17:11:05 +0800
>adam <adamgsoc2013 at gmail.com> napsal(a):
>
>> I am making a pull request about  UT for import Sharp file. 
>> https://github.com/phpmyadmin/phpmyadmin/pull/688
>
>Just small note - these are called Shape files, not Sharp files :-).
>
>> but the trival result shows a error.  https://travis-ci.org/phpmyadmin/phpmyadmin/jobs/11353415
>> I don't know why this error happens:
>> PHP Fatal error: Maximum execution time of 300 seconds exceeded in /home/travis/.phpenv/versions/5.5.0/share/pyrus/.pear/php/PHP/Token/Stream.php on line 205
>> 
>> this pull request just import a sharp file and verify the import result. It is OK when I am testing on my dev box.
>> I was thinking that is due to the sharp file size, so I changed to a small one. but the error still existed.
>
>Probably 3MB test file is quite big, how long does the test run on your
>side?
>
>We might simply just icrease time limit for PHP on Travis build as
>well...

I have changed the data file to a small one (2.801 kb)
https://github.com/adamgsoc2013/phpmyadmin/blob/d3a87951dee7de55a3d16277b69defc6c65018c9/test/test_data/timezone.shp.zip

But the error still existed.  

regards,
Adam 


More information about the Developers mailing list