Pegase745 / sqlalchemy-datatables

SQLAlchemy integration of jQuery DataTables >= 1.10.x (Pyramid and Flask examples)
MIT License
159 stars 67 forks source link

Travis tests sometimes failing for no apparent reason #69

Closed tdamsma closed 7 years ago

tdamsma commented 7 years ago

Perhaps because I added an extra test, there seems to be a race condition for the sqlite3 database where some of the tests fail due to columns existing from a previous test. Not entirely sure how to solve this, perhaps move all tests to one script. @Pegase745, if you manually ask Travis to rebuild, it will probably be ok. Perhaps this is an issue with the coveralls test runner, you could try to switch to py.test with --cov flag, perhaps that would solve it.

Pegase745 commented 7 years ago

@tdamsma you are right it worked !

Pegase745 commented 7 years ago

Fixed in #73

tdamsma commented 7 years ago

Unfortunately using pytest hasn't completely solved this, i just saw a test for https://github.com/Pegase745/sqlalchemy-datatables/pull/75 that failed on sqlite3 non unique columns, but that worked after restarting the test

Pegase745 commented 7 years ago

Yep just saw that too