This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wabu
Recipients gvanrossum, vstinner, wabu, yselivanov
Date 2014-10-21.21:14:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <5446CC6F.3070300@fooserv.net>
In-reply-to <CAP7+vJ+Uezs0dw2-hwzeRCfB=3mco_k=cEFPk7sffBrM8XpwJg@mail.gmail.com>
Content
On 21.10.2014 22:41, Guido van Rossum wrote:
> Guido van Rossum added the comment:
> 
> Victor, do you think this needs a unittest? It seems kind of difficult to
> test for whether memory fills up (the machine may get wedged if it does :-).

You could setup a the subprocess with
asyncio.async(asyncio.create_subprocess_exec(...)) and then let the
asyncio loop run for a limited time with
loop.run_until_complete(asyncio.sleep(.1)), watching carefully for
higher memory usage after each sleep.

But still it's difficult to create a reliable unit-test with this ...
History
Date User Action Args
2014-10-21 21:14:43wabusetrecipients: + wabu, gvanrossum, vstinner, yselivanov
2014-10-21 21:14:43wabulinkissue22685 messages
2014-10-21 21:14:43wabucreate