HBS-HBX/django-elastic-migrations

multiprocessing tests

codekiln opened this issue · 0 comments

In PR #29 / 0.7.2 "use pks for queryset inside workers," some test code was stubbed out for multiprocessing. This wasn't working in time for that PR, because sqlite3 kept throwing ProgrammingError: Cannot operate on a closed database, see commit
95fdb96, around TestEsUpdateWorkersManagementCommand.

This task is to find a way to get sqlite3 working with multiprocessing (since the in-memory database won't work in that setting) or to adopt travis ci to use postgres.