-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Are timeouts supposed to result in Error or Failure or both? #171
Comments
pytest considers exception/errors in setup/teardown an error (as that shouldnt happen) i beleive timeout should transition to a new outcome type as a timeout is more similar to a xfail |
That sounds reasonable and "Timeout" outcome sounds good. Is there work ongoing or another issue to link this one to? |
Not yet |
On Fri 22 Mar 2024 at 02:48 -0700, Ronny Pfannschmidt wrote:
i beleive timeout should transition to a new outcome type as a timeout is more similar to a xfail
can plugins define new outcome types?
|
I believe plugins can set any outcome as long as they handle it appropriately in a |
I'm running a smaller testsuite and moste of the tests fail 10 seconds timeout because of slow setup code (currently residing inside the tests). Some of the timeouted tests result in
Error
some inFailure
:Why? Is this intentional?
If I increase my timeout the ERRORs seem to go away and all timeouted tests are listed as FAILUREs.
The text was updated successfully, but these errors were encountered: