mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 16:45:29 +00:00
don't try to put Key, do put Data
This commit is contained in:
parent
a265ad5972
commit
38e65cf225
@ -113,7 +113,7 @@ make_data(PvalP1, PvalP2) ->
|
||||
[], lists:seq(?LIFESPAN, 0, -1))).
|
||||
|
||||
confirm_put(C, Data) ->
|
||||
ResFail = riakc_ts:put(C, <<"no-bucket-like-this">>, [?BADKEY]),
|
||||
ResFail = riakc_ts:put(C, <<"no-bucket-like-this">>, Data),
|
||||
io:format("Not put anything to a non-existent bucket: ~p\n", [ResFail]),
|
||||
?assertMatch({error, _}, ResFail),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user