-
Notifications
You must be signed in to change notification settings - Fork 59
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
tearDown() not called between reruns #39
Comments
Hi Yaro - good question. Unfortunately, nosetests plugins can only use a certain number of entry points, and the one to handle a test failure or error is called before test However, I think it's possible to modify flaky to run tearDown after each test, pass or fail. I'll see what I can come up with. |
Thanks Jeff, much appreciated. Regards, |
Fixes box#39. Instead of rerunning a test as soon as it's identified as flaky and a failure, wait until after tearDown is called. Only applies to the nose plugin.
Hi,
Thanks for what seems to be a very promising idea...
I tried to use flaky with nosetests, however I find that the tests are rerun for fails fine but the tearDown() does not get called between reruns until the very end when all reruns are finished, which is not good the test can leave something behind on the environment. Is this how flaky was designed or is it an actual issue?
Thanks,
Regards,
Yaro
The text was updated successfully, but these errors were encountered: