Skip to content

Commit

Permalink
Merge pull request #611 from basho/feature-bug/rdb/removes-remove
Browse files Browse the repository at this point in the history
Update dt test for reset-remove semantic
  • Loading branch information
Sean Cribbs committed Jun 1, 2014
2 parents 27390fb + 8d2daa6 commit 98b180a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/verify_dt_converge.erl
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,10 @@ update_2a({BType, map}, Bucket, Client, CMod) ->
fun(S) ->
riakc_set:add_element(<<"Sam">>, S)
end, M),
riakc_map:add({<<"verified">>, flag}, M1)
riakc_map:update({<<"verified">>, flag}, fun(F) ->
riakc_flag:disable(F)
end,
M1)
end,
{BType, Bucket}, ?KEY, ?MODIFY_OPTS).

Expand Down Expand Up @@ -306,7 +309,7 @@ check_4({BType, map}, Bucket, Client, CMod) ->
{{<<"home">>, register}, <<"[email protected]">>}
]},
{{<<"followers">>, counter}, 10},
{{<<"friends">>, set}, [<<"Russell">>, <<"Sam">>]},
{{<<"friends">>, set}, [<<"Sam">>]},
{{<<"verified">>, flag}, false}],
[{pr, 3}, {notfound_ok, false}]).

Expand Down

0 comments on commit 98b180a

Please sign in to comment.