anchor.diff:  		 write/2,
   		 cas/3,
   		 write_once/2,
  -         create_ensemble/0
  +         create_ensemble/0,
  +         join_cluster/1
   		]).
   
   
  
positive.code:     %% create a abc ensemble for test
      riak_ensemble_manager:create_ensemble(abc, undefined, [node() | nodes()],
                                                     riak_ensemble_basic_backend, []).
  %%--------------------------------------------------------------------
  %% @doc
  %% @spec
  
negative.code: %%%===================================================================
  %%% Internal functions
  %%%===================================================================
  wait_stable() ->
    case check_stable() of
      true ->
        ok;
      false ->
        wait_stable()
    end.
  
  check_stable() ->
    case riak_ensemble_manager:check_quorum(root, 1000) of
      true ->
        case riak_ensemble_peer:stable_views(root, 1000) of
          {ok, true} ->
            true;
          _ ->
            false
        end;
      false ->
        false
    end.
  