mozilla-services/circus — pull request #314 by magopian (2012-11-10 23:26:17+00:00)
Title: don't join from the thread itself, truncate file before restarting

* reorder instructions in test_stream: truncate file before restarting the process writing in it, to be sure no race condition could happen (restarted process writing in the file before it's truncated)
* ThreadedArbiter.join() was called from the thread itself, raising a RuntimeError which didn't break the code, and wasn't visible (because nose captures the logs by default)