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

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


Branch: CURRENT, 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:
[devel/py-setuptools] [lang/python27] [devel/py-test]

Required to build:
[pkgtools/cwrappers]

Master sites:

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

Version history: (Expand)


CVS history: (Expand)


   2017-11-30 09:18:32 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-timeout: updated to 1.2.1

1.2.1
Fix for pytest 3.3
Update supported python versions: - Add CPython 3.6. - Drop CPyhon 2.6 (as did \ 
pytest 3.3) - Drop CPyhon 3.3 - Drop CPyhon 3.4
   2017-11-26 17:56:06 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
Removed unused lines
   2017-11-06 14:35:03 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-test-timeout: follow redirect
   2017-10-19 08:52:03 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
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.