Path to this page:
./
devel/py-test-timeout,
Py.test plugin to abort hanging tests
Branch: pkgsrc-2019Q3,
Version: 1.3.3,
Package name: py37-test-timeout-1.3.3,
Maintainer: pkgsrc-usersThis 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.
Master sites:
SHA1: 855103ead70755a2af5c50726d543360e9b78bf8
RMD160: f04a8a7fac09d418609d73bb0ed18b74e164ed7c
Filesize: 11.354 KB
Version history: (Expand)
- (2019-10-02) Package added to pkgsrc.se, version py37-test-timeout-1.3.3 (created)