mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 16:45:29 +00:00
riakc_ts:query returns {ok, Thing}, not just Thing
This commit is contained in:
parent
4119438f52
commit
9615800158
@ -56,7 +56,7 @@ run_tests(PvalP1, PvalP2) ->
|
||||
?PKEY_P1, ?PKEY_P2, ?PKEY_P3,
|
||||
?PKEY_P1, ?PKEY_P2, ?PKEY_P3,
|
||||
?PKEY_P1, ?PKEY_P2, ?PKEY_P3]),
|
||||
?assertEqual({[], []}, riakc_ts:query(rt:pbc(hd(Cluster)), TableDef)),
|
||||
?assertEqual({ok, {[], []}}, riakc_ts:query(rt:pbc(hd(Cluster)), TableDef)),
|
||||
|
||||
%% Make sure data is written to each node
|
||||
lists:foreach(fun(Node) -> confirm_all_from_node(Node, Data, PvalP1, PvalP2) end, Cluster),
|
||||
|
Loading…
Reference in New Issue
Block a user