Skip to content

Commit 98b180a

Browse files
author
Sean Cribbs
committed
Merge pull request #611 from basho/feature-bug/rdb/removes-remove
Update dt test for reset-remove semantic
2 parents 27390fb + 8d2daa6 commit 98b180a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/verify_dt_converge.erl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,10 @@ update_2a({BType, map}, Bucket, Client, CMod) ->
226226
fun(S) ->
227227
riakc_set:add_element(<<"Sam">>, S)
228228
end, M),
229-
riakc_map:add({<<"verified">>, flag}, M1)
229+
riakc_map:update({<<"verified">>, flag}, fun(F) ->
230+
riakc_flag:disable(F)
231+
end,
232+
M1)
230233
end,
231234
{BType, Bucket}, ?KEY, ?MODIFY_OPTS).
232235

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

0 commit comments

Comments
 (0)