don't try to put Key, do put Data

This commit is contained in:
Andrei Zavada 2015-11-19 20:57:29 +02:00
parent a265ad5972
commit 38e65cf225

View File

@ -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),