basho/riak_test — pull request #100 by seancribbs (2012-11-28 21:34:51+00:00)
Title: Increase stability / reliability of building a cluster

Often tests would fail when trying to build a cluster because things could diverge AFTER one node thought they were stable. Typically manifested in `owners_according_to(Node)` failing in logs like http://basho-giddyup.herokuapp.com/#/logs/760.

This modified version makes every node be checked on every iteration of the wait, and ensures that calls to the nodes didn't fail as well. It also adds an alternate function `rt:wait_until_transfers_complete/1` that lets you wait for all handoffs (included hinted) by checking `riak_core_status:transfers()`.