Re: [Tutor] About Using timeout Mark in Pytest

2016-08-21 Thread Rohit Mediratta
I'm guessing the decorator is using method='thread', which is the default and aborts the process when timeout occurs. Can you see if your env supports method='signal' and if this resolves the issue? @pytest.mark.timeout(method='signal') Reference guide for supported options is here: https://pyp

[Tutor] About Using timeout Mark in Pytest

2016-08-20 Thread Michelle Meiduo Wu
Hi there, I'd like to use @pytest. mark.timeout in pytest test in Windows. But if one of test cases is timeout, then the following test cases will stop. Is there anybody know how to continue to run the following test cases if a test case is timeout? Thank you in advance. Michelle __