mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 08:35:22 +00:00
prevent non-deterministic failures in ensemble_remove_node2
Add a wait_untiL_stable call right before the last read from the root ensemble.
This commit is contained in:
parent
0cb1bd4357
commit
eb9bc44c66
@ -83,7 +83,7 @@ confirm() ->
|
||||
Val2 = rt:pbc_read(PBC, Bucket, Key),
|
||||
?assertEqual(element(1, Val2), riakc_obj),
|
||||
|
||||
|
||||
ok = ensemble_util:wait_until_stable(Node, NVal),
|
||||
lager:info("Read value from the root ensemble"),
|
||||
{ok, _Obj} = riak_ensemble_client:kget(Node, root, testerooni, 1000),
|
||||
Members3 = rpc:call(Node, riak_ensemble_manager, get_members, [root]),
|
||||
|
Loading…
Reference in New Issue
Block a user