basho/riak_core — pull request #504 by andrewjstone (2014-01-10 02:15:37+00:00)
Title: fix make test

Fix 2 failing tests

* `refresh_my_ring_test` was failing due to an ETS table not being setup properly.
* `core_vnode_eqc` was failing in multiple places
* shutdown had to be changed to kill so that processes didn't hang during testing
* an asyncwork response wasn't being counted for asynccrash calls so that needed to be added back in (it was commented out)
* With worker pools of 1, if an asyncrash call was followed by another async call that calls work wouldn't be counted because the message was dropped. I changed the possible pool sizes from [0,1,10] to [0,4,10] to make this issue extremely unlikely to happen. You'd need 4 worker crashes then another async call before any of them were restarted. Since they all have 100ms delays before crashing on purpose in mock_vnode that seems highly unlikely.