basho/riak_test — pull request #353 by evanmcc (2013-08-16 00:41:29+00:00)
Title: Add test for corrupted data coming out of the backend

intercepts gets and puts and handle_handoff_data calls and randomly corrupts the data coming out of or going into them.

Then tries to do gets and puts and forces handoff.

The test will never complete due to disconnection errors and the leave will time out. Additionally the logs will be filled with crashes.

With proper filtering in place, you get discard messages, but no crashes, and the test completes.