basho/riak_core — pull request #260 by rzezeski (2012-12-18 21:24:59+00:00)
Title: Fix vnode eqc test regression

The commit d769cfb2645050aa3abd053e260840d1a2893ae6 broke the test
because now instead of always going through the mgr it will
shortcut and hit the ets tab directly. This means there can be a
slice of time where the supervisor reports a vnode pid but the ets tab
hasn't indexed it yet. Calling `get_vnode_pid` after starting the
vnode ensures that all previous msgs in vnode mgr mailbox have been
handled and the ets tab is up-to-date for all subsequent calls.