basho/riak_kv — comment on commit 5c6aa5b4c85a56300288d2573b63d6a4d5b54767
File:  line 0
By rzezeski:

I agree about the Ideal World but it's probably safer for tests not to trust other tests. There's just too many things to go wrong. I also don't see anything wrong with making sure things are clean at the beginning of a test.

Off the top of my head I have no good ideas for automatically detecting these types of issues. It does suck that I had to spend half a day tracking this down (plus whatever time @beerriot spent on it).