-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Test test_40_task_resource_status fails when tests run with sqlite #579
Comments
This looks like an easy fix, but I'm gonna wait for Vitor to push a branch that changes Travis to also run the sqlite tests first, then I'll try pushing a fix for this onto that same branch. Vitor is waitin for another pull request with Travis changes in it to be merged before he does it.. |
What is the status of this #562 has been merged. I think it is good to keep the sqlite tests while we support it |
@tobes @vitor No I wasn't talking about #562 (which is about running the tests with postgres 8.4 and 9.1), I was talking about a Travis change to run the tests with sqlite. In my opinion there's no point in fixing this test fail (which only occurs if you run the tests with sqlite) because Travis does not run the sqlite tests and neither do any of the devs. Possible solutions:
We're having a combinatorial explosion in the number of times Travis has to run the tests for each commit: Postgrss 8.4 and 9.1, sqlite, Python 2.6 and 2.7 ... If we get Travis running the sqlite tests he'll be running the tests 6 times per commit. So perhaps we should consider killing the sqlite tests. |
I'd be happy to reduce the number of travis tests to python 2.6 and postgres 8.4 sqlite and 2.7 would not be supported by this but I'm not that worried about that we could include it if needed. I don't think we need to check all the python/postgres combos directly extra tests don't hurt us as they run in parallel but seem pointless. Why exactly do we support sqlite? But for now I'd like to see it tested since we have it and lets try to keep master fail free so get working in a branch first. |
That looks fine to me. I think the only reason we support sqlite is because the tests run faster with sqlite. |
imho that sounds like the sqlite tests should be removed - I don't think anyone is using them and when we merge my tests in separate db #517 (which I need to fix up) then that usecase goes too. |
I'm not sure the 4 test jobs we currently have do run in parallel, it seems to start the first job and then about 15 minutes later the second job starts (even if the first is still running) and so on, so adding more jobs will make it take much longer per commit |
Just my 2 cts, I personally use the sqlite tests when developing to do quick tests but I don't think we need them to run on Travis as I agree more jobs will slow the tests even more the test runs. |
Not supporting sqlite tests anymore. |
Wider discussion: Travis does not run the sqlite tests. Maybe he should. Or maybe we should just get rid of the sqlite tests.
The text was updated successfully, but these errors were encountered: