mozilla/zamboni — comment on commit 804be6f55a2deccd99e066301ec2f1cf5c206c89
File:  line 0
By willkg:

We have a similar issue in SUMO, but solved it with an ES_LIVE_INDEXING configuration variable that's set to True in settings.py and False in settings_test.py. So when our unit tests run, they run with the incremental indexing off by default and then we have an ElasticTestCase class that explicitly turns it on for ES test cases.

I don't know if that's a better system than mocking it out or not. Figured I'd mention it.