Re: [py-dev] pytest-timeout 0.2

2012-06-20 Thread Floris Bruynooghe
On 19 March 2012 22:20, Floris Bruynooghe wrote: > On 19 March 2012 16:38, Brack, Laurent P. wrote: >> It would also be nice to have a consistent behavior between sigalarm on/off. >> For instance, on Windows, pytest exits on first hang as opposed to *nix >> where the test is pre-empted and pyte

Re: [py-dev] pytest-timeout 0.2

2012-03-20 Thread Brack, Laurent P.
is somewhat unrelated to the timeout subject). /Laurent -Original Message- From: holger krekel [mailto:hol...@merlinux.eu] Sent: Mon 3/19/2012 11:10 PM To: Brack, Laurent P. Cc: Floris Bruynooghe; holger krekel; py-dev@codespeak.net; Brard, Valentin Subject: Re: [py-dev] pytest-ti

Re: [py-dev] pytest-timeout 0.2

2012-03-19 Thread holger krekel
ut you can you detail a bit more of what you want to achieve? best, holger > > -Original Message- > From: floris.bruynoo...@gmail.com [mailto:floris.bruynoo...@gmail.com] On > Behalf Of Floris Bruynooghe > Sent: Monday, March 19, 2012 3:21 PM > To: Brack, Laurent P. &

Re: [py-dev] pytest-timeout 0.2

2012-03-19 Thread Brack, Laurent P.
same thing? -Original Message- From: floris.bruynoo...@gmail.com [mailto:floris.bruynoo...@gmail.com] On Behalf Of Floris Bruynooghe Sent: Monday, March 19, 2012 3:21 PM To: Brack, Laurent P. Cc: holger krekel; py-dev@codespeak.net; Brard, Valentin Subject: Re: [py-dev] pytest-timeout

Re: [py-dev] pytest-timeout 0.2

2012-03-19 Thread Floris Bruynooghe
On 19 March 2012 16:38, Brack, Laurent P. wrote: > It would also be nice to have a consistent behavior between sigalarm on/off. > For instance, on Windows, pytest exits on first hang as opposed to *nix where > the test is pre-empted and pytest moves on to the next one. I was writing up a respon

Re: [py-dev] pytest-timeout 0.2

2012-03-19 Thread Brack, Laurent P.
. Cheers /Laurent -Original Message- From: py-dev-boun...@codespeak.net [mailto:py-dev-boun...@codespeak.net] On Behalf Of Floris Bruynooghe Sent: Sunday, March 18, 2012 4:24 PM To: holger krekel; Floris Bruynooghe; py-dev@codespeak.net Subject: Re: [py-dev] pytest-timeout 0.2 Hello

Re: [py-dev] pytest-timeout 0.2

2012-03-18 Thread Floris Bruynooghe
Hello Holger, On 18 March 2012 00:16, holger krekel wrote: > I went ahead and created a test function with > >    @pytest.mark.timeout(1) >    def test_hello(): >        ... > > but the timeout was not honoured.  Then i skimmed the docs :) > added "timeout_method = signal" to my ini-file and ran,

Re: [py-dev] pytest-timeout 0.2

2012-03-17 Thread holger krekel
Hi Floris, On Sat, Mar 17, 2012 at 18:31 +0100, Floris Bruynooghe wrote: > I've made a second release of the pytest-timeout plugin for py.test > which can time out long running tests. This release includes a number > of suggestions made on this list, major changes include: > > * Fixed the activa

[py-dev] pytest-timeout 0.2

2012-03-17 Thread Floris Bruynooghe
Hi all, I've made a second release of the pytest-timeout plugin for py.test which can time out long running tests. This release includes a number of suggestions made on this list, major changes include: * Fixed the activation problem * Set timeout using configuration file * Add a timeout marker