Revert "Remove redundant wait call"

This reverts commit 43a8978bab.
This commit is contained in:
Nick Marino 2016-09-19 10:47:10 -04:00
parent e771fee2d8
commit 05fd551eab

View File

@ -1189,6 +1189,8 @@ join_cluster(Nodes) ->
?assertEqual(ok, wait_until(fun() -> ok == plan_and_commit(Node1, Nodes) end))
end,
?assertEqual(ok, wait_until_nodes_ready(Nodes)),
%% Ensure each node owns a portion of the ring
wait_until_nodes_agree_about_ownership(Nodes),
?assertEqual(ok, wait_until_no_pending_changes(Nodes)),