[Phpmyadmin-devel] Failing test

Marc Delisle marc at infomarc.info
Fri Jul 13 14:09:13 CEST 2012


Le 2012-07-12 16:26, Michal Čihař a écrit :
> Hi
> 
> Dne Thu, 12 Jul 2012 23:20:17 +0530
> yasitha pandithawatta <yasitha4 at gmail.com> napsal(a):
> 
>> I found the exact place by debugging and running whole test case. When
>> those test cases are commented  it takes only less than 1 minute to run the
>> whole test suit. :-)
>>
>> Still I don't have an idea why this happens and it says ob_start() is
>> having some sort of performance issues. Any idea on how fix this?
> 
> Thanks for the analysis! I've looked deeper into it and the problem
> seems to be caused by error inside ob_start/ob_end_clean. Once you
> remove last test for Advisor class, it get's faster to other tests. I
> assume in second case the cause is same.
> 
> Still I have no clue how to debug furher, maybe somebody else has an
> idea?
> 

Sorry, are you talking about just running phpunit or all the tests in
Jenkins? Because on my test server, running phpunit with 971 tests takes
9 seconds (phpunit 3.6.10, PHP 5.3.13).


-- 
Marc Delisle
http://infomarc.info



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120713/8dd22de6/attachment.sig>


More information about the Developers mailing list