./devel/py-test-timeout, Py.test plugin to abort hanging tests

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2018Q3, Version: 1.3.2, Package name: py27-test-timeout-1.3.2, Maintainer: pkgsrc-users

This is a plugin which will terminate tests after a certain timeout. When doing
so it will show a stack dump of all threads running at the time. This is useful
when running tests under a continuous integration server or simply if you don't
know why the test suite hangs.

Note that while by default on POSIX systems py.test will continue to execute
the tests after a test has timed, out this is not always possible. Often the
only sure way to interrupt a hanging test is by terminating the entire process.
As this is a hard termination (os._exit()) it will result in no teardown, JUnit
XML output etc. But the plugin will ensure you will have the debugging output
on stderr nevertheless, which is the most important part at this stage.


Required to run:
[lang/python27] [devel/py-test] [devel/py-setuptools]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: dd488871ddb409ae384b5d7f2004c297feac3993
RMD160: 929fb1a10cb2a458a653cb4cbaf275b5f88030a5
Filesize: 11.225 KB

Version history: (Expand)