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

Michal Čihař michal at cihar.com
Mon Sep 16 08:34:23 CEST 2013


Hi

Dne Mon, 16 Sep 2013 09:53:44 +0800
adam <adamgsoc2013 at gmail.com> napsal(a):

> 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.  

And how long does this test run in your environment?

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130916/a33530c0/attachment.sig>


More information about the Developers mailing list