[Phpmyadmin-devel] Problem with "Advisor" unit tests
Michal Čihař
michal at cihar.com
Wed Aug 17 12:34:23 CEST 2011
Hi
Dne Wed, 17 Aug 2011 10:55:04 +0100
Rouslan Placella <rouslan at placella.com> napsal(a):
> On Wed, 2011-08-17 at 08:46 +0200, Michal Čihař wrote:
> > Hi
> >
> > Dne Tue, 16 Aug 2011 14:59:30 +0100
> > Rouslan Placella <rouslan at placella.com> napsal(a):
> >
> > > On my computer there is a problem with the unit tests for "Advisor". If
> > > I just run the advisor test, everything is fine, it's run very quickly
> > > and succeeds. But if I run all unit tests in one go, then the "Advisor"
> > > unit test takes over a minute and eats up well over 1GB of my memory
> > > (which is unacceptable). However I can't see this issue on
> > > ci.phpmyadmin.net, where all tests complete within 25s and using only
> > > 85MB of memory. Can anyone else confirm this behaviour? Any ideas what
> > > could be the cause of this problem?
> >
> > I did not have any issue with those tests when I tested them locally.
> > Can you try disabling individual tests from Advisor test suite and
> > see which one is actually causing this?
>
> It's "testAddRule" that is causing the issue.
Strange, I really don't see what could be causing troubles there. It
involves calling gettext and preg, that's probably only places where it
could possibly consume some memory (though I can hardly see why it
would consume that much).
--
Michal Čihař | http://cihar.com | http://phpmyadmin.cz
-------------- 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/20110817/09ee01a7/attachment.sig>
More information about the Developers
mailing list