[Twisted-Python] removing unsupported reactors in twisted 2.6: qt,

Jean-Paul Calderone exarkun at divmod.com
Mon Sep 25 11:12:29 MDT 2006


On Mon, 25 Sep 2006 18:49:12 +0200, Michele Petrazzo <michele.petrazzo at unipex.it> wrote:
>Jean-Paul Calderone wrote:
>>>Just for see if I can help, I tried the "trial --reactor threadedselect 
>>>twisted", but after some (10 min) work, trial eat all my ram! and I must 
>>>close it with e "kill -9". Are there another
>>>  method for execute trial?
>>
>>As a comparison, have you run trial with the default reactor?  If this 
>>fails the same way, your machine have an odd configuration which
>>  is fouling up the tests, or it may simply not have enough ram to run
>>  the full test suite.
>
>My top say:
>Mem:    776656k total,   592024k used,   184632k free,    31956k buffers
>
>and after two minutes of "trial twisted",
>5273 michele   25   0  250m 203m 5012 R 95.9 26.8   1:13.57 trial
>
>
>What can I try, or what can I modify for make the tests? All my packages
>are default packages from debian testing repository!

Do you get any output at all?  It is not uncommon for the full test suite
to take as long as ten minutes.  It might take even longer, depending on how
fast the machine running the tests is.

You may also want to try running a subset of the tests.  To run only the core
tests, "trial twisted.test".  To run only the web tests, "trial twisted.web",
etc.

Jean-Paul




More information about the Twisted-Python mailing list