Skip to content

Commit

Permalink
Fix ensemble_interleave error condition
Browse files Browse the repository at this point in the history
Include {error, <<"failed">>} as allowed failure so that test passes
with changes for basho/riak_ensemble#37 and basho/riak_kv#1002
  • Loading branch information
andrewjstone committed Jul 11, 2014
1 parent e3df2fb commit 38bd839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ensemble_interleave.erl
Expand Up @@ -96,6 +96,6 @@ confirm() ->
ensemble_util:wait_until_stable(Node, Quorum),

lager:info("Re-reading keys to verify they exist"),
Expect = [ok, {error, timeout}, {error, <<"timeout">>}],
Expect = [ok, {error, timeout}, {error, <<"timeout">>}, {error, <<"failed">>}],
[rt:pbc_read_check(PBC, Bucket, Key, Expect, Options) || Key <- Keys],
pass.

0 comments on commit 38bd839

Please sign in to comment.