plberg / cs373-idb

Project 3 (IDB) for CS 373: Software Engineering
0 stars 1 forks source link

Make test database programmatically before running tests #81

Closed phtimmins closed 9 years ago

phtimmins commented 9 years ago

This should (maybe) fix race conditions caused by uwsig threads hitting the database, or caused by running tests from production and development servers simulatneously.

phtimmins commented 9 years ago

This would be an ideal solution, but programmatically creating and deleting tables is difficult, at least with the restrictions imposed by using flask-sqlalchemy rather than explicit database manipulation. Reducing the number of threads should fix this issue in most cases.