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

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


Branch: pkgsrc-2018Q1, Version: 1.2.1, Package name: py27-test-timeout-1.2.1, 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]

Master sites:

SHA1: 372ca063cf61447a1522d304519cf7aa5c23f961
RMD160: 80f382698b944aab16eaef54c678c627b7499ce1
Filesize: 11.229 KB

Version history: (Expand)