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

Michal Čihař michal at cihar.com
Sun Sep 15 18:45:51 CEST 2013


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

-- 
	Michal Čihař | http://cihar.com | http://phpmyadmin.net
-------------- 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/20130915/9d379867/attachment.sig>


More information about the Developers mailing list