Is it possible that other tasks (indexing, activity) could be handled just after this truncate occurs? The result of the truncate on those tasks is kind if indeterministic, it could even lead to an exception that will cause Mocha to fail a (potentially unrelated test).

Might be worth putting something in place to ensure all tasks have finished processing before doing this truncate.