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

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


Branch: CURRENT, Version: 1.3.3, Package name: py27-test-timeout-1.3.3, 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: 855103ead70755a2af5c50726d543360e9b78bf8
RMD160: f04a8a7fac09d418609d73bb0ed18b74e164ed7c
Filesize: 11.354 KB

Version history: (Expand)


CVS history: (Expand)


   2018-11-19 11:30:29 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-timeout: updated to 1.3.3

1.3.3
Fix support for pytest >= 3.10.
   2018-08-28 08:31:47 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-timeout: updated to 1.3.2

1.3.2:
Unknown changes
   2018-07-24 10:23:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-timeout: updated to 1.3.1

1.3.1:
Fix deprecation warning on Python 3.6.
Create a valid tag for the release. Somehow this didn't happen for 1.3.0, that \ 
tag points to a non-existing commit.
   2018-06-24 11:45:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-timeout: updated to 1.3.0

1.3.0:
Make it possible to only run the timeout timer on the test function and not the \ 
whole fixture setup + test + teardown duration
Use the new pytest marker API
   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.