gabrielfalcao/lettuce — Issue #233: multiprocessing server doesn't work with test_runner.setup_databases()
Author: michaelkirk
Created: 2012-03-06 03:22:15+00:00
State: open

I'm trying to
1. automatically create test databases
1. start server and have it use these test databases
1. don't require extra options to be passed into harvest (e.g. --settings=special_lettuce_settings)

I've [branched](github.com/michaelkirk/lettuce) lettuce and reverted the [django/server.py](https://github.com/michaelkirk/lettuce/blob/master/lettuce/django/server.py) to the [threading (vs. multiprocessing) model](https://github.com/michaelkirk/lettuce/commit/0fb992ae4562320fc3da4b6e669df42f5dc1da42). This works in conjunction with [my terrain.py](https://gist.github.com/1983193) to achieve this.

I know this is in some sense regressive, but the above features are more important to me than using a separate process for the server.

Any idea of how to get the multiprocessing server in master compatible with these features?