-
Notifications
You must be signed in to change notification settings - Fork 114
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
Tests don't call super's tearDownClass #161
Comments
Yup, this should really be fixed. Are you fixing or do u want to fix? |
I can take a look at this at the end of the week, it's not high prio. Can you assign it to me ? |
So I found few interesting data points regarding this issue:
I still can't reproduce this locally but I'm changing and commenting out stuff and pushing it to Travis to see what happens. So far the only thing that didn't cause a core dump was commenting out |
Adding a note about core dumps in Travis CI b/c they may be related (not sure ATM). It also looks like there is a problem with older versions of sqlite3, see pytest-dev/pytest-django#409 My local version if @tkdchen what's your version of sqlite3 ? |
It's good to use
So, using
I don't want to run Nitrate on MyISAM. For MySQL, it's InnoDB. What do you mean by "what are the defaults with latest versions of MySQL."?
I think this should be fine to #162, since in PR #167, |
My Nitrate development box is Fedora 25. sqlite version is
|
Regarding the tests, running in sqlite is a nice way to boost the whole process, but I'm also thinking of whether it is necessary to run tests with MySQL and PostgreSQL, either in parallel or in sequence, because Nitrate should work well with those two database. What do you think? |
for all test cases which use the database. This speeds up things a bit and is more compatible with how Django is supposed to handle tests that need objects from the database. Fix Nitrate#161
for all test cases which use the database. This speeds up things a bit and is more compatible with how Django is supposed to handle tests that need objects from the database. Fix Nitrate#161
for all test cases which use the database. This speeds up things a bit and is more compatible with how Django is supposed to handle tests that need objects from the database. Fix Nitrate#161 Signed-off-by: Mr. Senko <atodorov@mrsenko.com>
During work on #159 I have discovered that many tests (not only in xmlrpc app) don't call
tearDownClass()
of the parent class. This may be a potential issue and is also a requirement in PR review so my vote goes for fixing this everywhere and set an example.The text was updated successfully, but these errors were encountered: